hedgewars/uLandGraphics.pas
changeset 6681 f46b1a1de2ce
parent 6580 6155187bf599
child 6700 e04da46ee43c
--- a/hedgewars/uLandGraphics.pas	Sun Feb 12 22:18:49 2012 +0400
+++ b/hedgewars/uLandGraphics.pas	Sun Feb 12 15:11:47 2012 -0500
@@ -802,9 +802,11 @@
         else
             LandPixels[yy, xx]:= 0;
 
-        Land[Y, X]:= 0;
         if not pixelsweep then
-            exit(true);
+            begin
+            Land[Y, X]:= 0;
+            exit(true)
+            end
         end;
     end;
 Despeckle:= false