hedgewars/HHHandlers.inc
changeset 3949 4c4c0a2507cc
parent 3945 c3d5eace0a32
child 3951 c9a63db3e603
--- a/hedgewars/HHHandlers.inc	Sun Oct 10 22:32:01 2010 +0200
+++ b/hedgewars/HHHandlers.inc	Sun Oct 10 16:51:40 2010 -0400
@@ -327,9 +327,9 @@
             if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then
                 begin
                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
-                State:= State or gstAttacked
                 end
-            else ApplyAmmoChanges(CurrentHedgehog^)
+            else ApplyAmmoChanges(CurrentHedgehog^);
+            if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked;
             end;
         end
     else