nikin just wants to get commit count up
authornikin
Sun, 20 Mar 2011 15:22:55 -0400
changeset 5035 a00636066077
parent 5034 a30772158f50
child 5036 cb5fa93c7ae0
nikin just wants to get commit count up
hedgewars/HHHandlers.inc
--- 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