hedgewars/uGearsList.pas
changeset 8744 6c87486fd89b
parent 8494 53b91a602955
child 8751 4609823efc94
--- a/hedgewars/uGearsList.pas	Sun Mar 17 10:25:19 2013 -0400
+++ b/hedgewars/uGearsList.pas	Sun Mar 17 14:09:54 2013 -0400
@@ -185,7 +185,7 @@
     begin
     gear^.Hedgehog:= CurrentHedgehog;
     if (CurrentHedgehog^.Gear <> nil) and (hwRound(CurrentHedgehog^.Gear^.X) = X) and (hwRound(CurrentHedgehog^.Gear^.Y) = Y) then
-        gear^.CollisionMask:= $FF7F
+        gear^.CollisionMask:= lfCurrentMask
     end;
 
 if (Ammoz[Gear^.AmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0) then