# HG changeset patch # User nemo # Date 1309303002 14400 # Node ID ce527b35d063e27297d96b0697f5fb2e1c7ddec6 # Parent ee611abe9158fa5fe1f40c4488244f455b814ba2 sweep up some AA pixels diff -r ee611abe9158 -r ce527b35d063 hedgewars/uLandGraphics.pas --- a/hedgewars/uLandGraphics.pas Tue Jun 28 21:31:02 2011 +0200 +++ b/hedgewars/uLandGraphics.pas Tue Jun 28 19:16:42 2011 -0400 @@ -715,7 +715,9 @@ yy:= Y div 2; end; pixelsweep:= ((Land[Y, X] and $FF00) = 0) and (LandPixels[yy, xx] <> 0); -if (((Land[Y, X] and lfDamaged) <> 0) and ((Land[Y, X] and lfIndestructible) = 0)) or pixelsweep then +if ((((Land[Y, X] and lfDamaged) <> 0) or + (((Land[Y, X] and lfBasic) <> 0) and (LandPixels[yy,xx] <> 0) and ((LandPixels[yy,xx] and AMask) shl AShift < 255))) + and ((Land[Y, X] and lfIndestructible) = 0)) or pixelsweep then begin c:= 0; for i:= -1 to 1 do