hedgewars/HHHandlers.inc
changeset 5026 e83d4552625f
parent 5024 1e332947147c
child 5031 e26f430be1ed
--- a/hedgewars/HHHandlers.inc	Sat Mar 19 19:41:59 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sat Mar 19 20:24:31 2011 -0400
@@ -382,7 +382,7 @@
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and ((GameFlags and gfInfAttack) = 0) then
                 begin
                 if TagTurnTimeLeft = 0 then TagTurnTimeLeft:= TurnTimeLeft;
-                TurnTimeLeft:= Ammoz[a].TimeAfterTurn;
+                TurnTimeLeft:=round(Ammoz[a].TimeAfterTurn * (cGetAwayTime / 100));
                 end;
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) then State:= State or gstAttacked;
             if (Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) <> 0 then ApplyAmmoChanges(CurrentHedgehog^)