hedgewars/uGearsHedgehog.pas
changeset 14748 2ad6f0555e61
parent 14735 2d859d34e6f6
child 14926 60340c8a6fae
--- a/hedgewars/uGearsHedgehog.pas	Tue Apr 02 23:14:31 2019 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Wed Apr 03 13:00:05 2019 +0200
@@ -535,7 +535,6 @@
                       amRubber, amMinigun: CurAmmoGear:= newGear;
             end;
             if CurAmmoType = amCake then FollowGear:= newGear;
-            if CurAmmoType = amAirMine then newGear^.Hedgehog:= nil;
 
             if ((CurAmmoType = amMine) or (CurAmmoType = amSMine) or (CurAmmoType = amAirMine)) and (GameFlags and gfInfAttack <> 0) then
                 newGear^.FlightTime:= GameTicks + min(TurnTimeLeft,1000)