hedgewars/uGearsHedgehog.pas
changeset 6532 76d63e00002f
parent 6515 74a04089bb56
child 6543 697e9b730189
--- a/hedgewars/uGearsHedgehog.pas	Thu Dec 15 12:57:26 2011 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Sat Dec 17 13:12:33 2011 -0500
@@ -367,7 +367,9 @@
                   amResurrector, amStructure,
                        amTardis, amPiano: CurAmmoGear:= newGear;
                   end;
-              if (CurAmmoType = amMine) or (CurAmmoType = amSMine) and (GameFlags and gfInfAttack <> 0) then newGear^.FlightTime:= GameTicks + 1000;
+              if ((CurAmmoType = amMine) or (CurAmmoType = amSMine)) and (GameFlags and gfInfAttack <> 0) then
+                 newGear^.FlightTime:= GameTicks + 1000
+              else if CurAmmoType = amDrill then newGear^.FlightTime:= GameTicks + 250;
         if Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NeedTarget <> 0 then
             begin
             newGear^.Target.X:= TargetPoint.X;