hedgewars/HHHandlers.inc
changeset 6121 895115acb8c5
parent 6118 7684ca4f9808
child 6122 58ecb4fb743d
--- a/hedgewars/HHHandlers.inc	Mon Oct 10 15:45:19 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Mon Oct 10 16:23:08 2011 -0400
@@ -373,6 +373,7 @@
                   amResurrector, amStructure,
                        amTardis: CurAmmoGear:= newGear;
                   end;
+              if (CurAmmoType = amMine) or (CurAmmoType = amSMine) and (GameFlags and gfInfAttack <> 0) then newGear^.FlightTime:= GameTicks;
         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
             begin
             newGear^.Target.X:= TargetPoint.X;