hedgewars/HHHandlers.inc
changeset 5034 a30772158f50
parent 5031 e26f430be1ed
child 5035 a00636066077
--- a/hedgewars/HHHandlers.inc	Sun Mar 20 15:00:01 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Mar 20 15:07:45 2011 -0400
@@ -389,7 +389,7 @@
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) and ((GameFlags and gfInfAttack) = 0) then
                 begin
                 if TagTurnTimeLeft = 0 then TagTurnTimeLeft:= TurnTimeLeft;
-                TurnTimeLeft:=round(Ammoz[a].TimeAfterTurn * (cGetAwayTime / 100));
+                TurnTimeLeft:=Ammoz[a].TimeAfterTurn * cGetAwayTime div 100;
                 end;
             if ((Ammoz[a].Ammo.Propz and ammoprop_NoRoundEnd) = 0) then State:= State or gstAttacked;
             if (CurAmmoGear <> nil) and ((Ammoz[CurAmmoGear^.AmmoType].Ammo.Propz and ammoprop_AltAttack) <> 0) then