hedgewars/uGearsHedgehog.pas
changeset 7738 abcc7012de0b
parent 7733 a1476c09403f
child 7754 e81dc9bef8b8
--- 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