hedgewars/GSHandlers.inc
changeset 4702 8d58de712738
parent 4691 d07fa8480491
child 4708 aa1da6339eb3
--- a/hedgewars/GSHandlers.inc	Sun Dec 26 20:17:15 2010 +0300
+++ b/hedgewars/GSHandlers.inc	Sun Dec 26 15:28:44 2010 -0500
@@ -1038,7 +1038,7 @@
     if (Gear^.Timer mod 47) = 0 then
         begin
         // ok. this was an attempt to turn off dust if not actually drilling land.  I have no idea why it isn't working as expected
-        //if ((y + 12 and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y + 12, x] > 255) then 
+        if (( (y + 12) and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y + 12, x] > 255) then 
             for i:= 0 to 1 do
                 AddVisualGear(x - 5 + Random(10), y + 12, vgtDust);