hedgewars/HHHandlers.inc
changeset 3953 fd7ced2071a1
parent 3951 c9a63db3e603
child 3957 25b0a62e08de
--- a/hedgewars/HHHandlers.inc	Sun Oct 10 20:16:17 2010 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Oct 10 20:34:48 2010 -0400
@@ -326,11 +326,9 @@
             begin
             OnUsedAmmo(CurrentHedgehog^);
             if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then
-                begin
                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
-                end
-            else ApplyAmmoChanges(CurrentHedgehog^);
-            if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked;
+            if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0 then ApplyAmmoChanges(CurrentHedgehog^);
+            if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked
             end;
         end
     else