# HG changeset patch # User unc0rr # Date 1349815200 -14400 # Node ID abcc7012de0bc677719a51cccd7e5df40370d75e # Parent ff63da8a3202269df6f5866b6179cd88edf12f61 Please pas2c diff -r ff63da8a3202 -r abcc7012de0b 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