hedgewars/GSHandlers.inc
branchwebgl
changeset 8839 caa57115d7ea
parent 8833 c13ebed437cb
child 8847 ff7fbab7cd56
--- a/hedgewars/GSHandlers.inc	Tue Apr 02 23:43:39 2013 +0400
+++ b/hedgewars/GSHandlers.inc	Wed Apr 03 00:03:46 2013 +0400
@@ -1021,7 +1021,7 @@
         if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) and (Land[y, x] <> 0) then
             inc(Gear^.Damage);
         // let's interrupt before a collision to give portals a chance to catch the bullet
-        if (Gear^.Damage = 1) and (Gear^.Tag = 0) and not(CheckLandValue(x, y, lfLandMask)) then
+        if (Gear^.Damage = 1) and (Gear^.Tag = 0) and (not(CheckLandValue(x, y, lfLandMask))) then
             begin
             Gear^.Tag := 1;
             Gear^.Damage := 0;