--- a/hedgewars/uGearsHedgehog.pas Tue Oct 09 00:38:17 2012 +0400
+++ b/hedgewars/uGearsHedgehog.pas Mon Oct 08 21:07:18 2012 -0400
@@ -398,7 +398,7 @@
newGear^.Target.X:= TargetPoint.X;
newGear^.Target.Y:= TargetPoint.Y
end;
- if newGear <> nil then newGear^.CollisionMask:= $FF7F;
+ 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