hedgewars/GSHandlers.inc
branch0.9.15
changeset 4691 d07fa8480491
parent 4655 b75bb4307b0f
child 4708 aa1da6339eb3
--- a/hedgewars/GSHandlers.inc	Sun Dec 26 14:58:28 2010 +0100
+++ b/hedgewars/GSHandlers.inc	Sun Dec 26 15:50:21 2010 +0100
@@ -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);