Please pas2c
authorunc0rr
Wed, 10 Oct 2012 00:40:00 +0400
changeset 7738 abcc7012de0b
parent 7737 ff63da8a3202
child 7739 8d5d6b1be9ba
Please pas2c
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Wed Oct 10 00:21:18 2012 +0400
+++ b/hedgewars/uGearsHedgehog.pas	Wed Oct 10 00:40:00 2012 +0400
@@ -398,7 +398,7 @@
             newGear^.Target.X:= TargetPoint.X;
             newGear^.Target.Y:= TargetPoint.Y
             end;
-        if (newGear <> nil) and (newGear^.CollisionMask and $80 <> 0) then newGear^.CollisionMask:= newGear^.CollisionMask and not $80;
+        if (newGear <> nil) and (newGear^.CollisionMask and $80 <> 0) then newGear^.CollisionMask:= newGear^.CollisionMask and (not $80);
 
         // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement
         if altUse then