hedgewars/uGearsHedgehog.pas
changeset 11918 232b57a70aca
parent 11916 6145efcff302
child 11919 c9bad8a01185
--- a/hedgewars/uGearsHedgehog.pas	Sat Apr 30 20:35:55 2016 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Sat Apr 30 20:55:16 2016 +0200
@@ -559,6 +559,7 @@
                 if (CurAmmoGear <> nil) and (CurAmmoGear^.State and gstSubmersible <> 0) and CheckCoordInWater(hwRound(CurAmmoGear^.X), hwRound(CurAmmoGear^.Y)) then
                      TurnTimeLeft:=(Ammoz[a].TimeAfterTurn * cGetAwayTime) div 25
                 else TurnTimeLeft:=(Ammoz[a].TimeAfterTurn * cGetAwayTime) div 100;
+                IsGetAwayTime := true;
                 end;
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and (HHGear <> nil) then
                 HHGear^.State:= HHGear^.State or gstAttacked;