diff -r 4c47a480009b -r f1d349a52bc7 hedgewars/uGearsHedgehog.pas --- a/hedgewars/uGearsHedgehog.pas Tue Jul 10 17:11:31 2018 +0200 +++ b/hedgewars/uGearsHedgehog.pas Tue Jul 10 18:00:04 2018 +0200 @@ -493,7 +493,7 @@ newGear^.Target.X:= TargetPoint.X; newGear^.Target.Y:= TargetPoint.Y end; - if (newGear <> nil) and (newGear^.CollisionMask and lfCurrentHog <> 0) then newGear^.CollisionMask:= newGear^.CollisionMask and (not lfCurrentHog); + if (newGear <> nil) and (newGear^.CollisionMask and lfCurHogCrate <> 0) then newGear^.CollisionMask:= newGear^.CollisionMask and (not lfCurHogCrate); // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement if altUse then