hedgewars/HHHandlers.inc
changeset 3957 25b0a62e08de
parent 3953 fd7ced2071a1
child 3963 6090d2a2472e
--- a/hedgewars/HHHandlers.inc	Sun Oct 10 22:18:38 2010 -0400
+++ b/hedgewars/HHHandlers.inc	Sun Oct 10 23:41:24 2010 -0400
@@ -326,7 +326,10 @@
             begin
             OnUsedAmmo(CurrentHedgehog^);
             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;
             if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0 then ApplyAmmoChanges(CurrentHedgehog^);
             if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked
             end;