hedgewars/uGearsHedgehog.pas
changeset 7272 71df899c4163
parent 7187 aff30d80bd7b
child 7278 000e4543f204
child 7337 c224cd2d32f3
--- a/hedgewars/uGearsHedgehog.pas	Sat Jun 23 21:37:47 2012 -0400
+++ b/hedgewars/uGearsHedgehog.pas	Sat Jun 23 22:39:00 2012 -0400
@@ -395,6 +395,7 @@
             newGear^.Target.X:= TargetPoint.X;
             newGear^.Target.Y:= TargetPoint.Y
             end;
+        if newGear <> nil then newGear^.CollisionMask:= $FF7F;
 
         // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement
         if altUse then