hedgewars/HHHandlers.inc
changeset 5035 a00636066077
parent 5034 a30772158f50
child 5038 c77241027071
--- a/hedgewars/HHHandlers.inc	Sun Mar 20 15:07:45 2011 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Mar 20 15:22:55 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:=Ammoz[a].TimeAfterTurn * cGetAwayTime div 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