hedgewars/uGearsHedgehog.pas
changeset 12846 afd312fc270d
parent 12820 92218a06c9ff
child 12903 8a40ce061d94
--- a/hedgewars/uGearsHedgehog.pas	Sun Nov 19 22:35:16 2017 +0100
+++ b/hedgewars/uGearsHedgehog.pas	Wed Nov 22 17:38:47 2017 -0500
@@ -1252,7 +1252,7 @@
     if TagTurnTimeLeft = 0 then
         TagTurnTimeLeft:= TurnTimeLeft;
     TurnTimeLeft:= 0;
-    if (GameOver = false) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
+    if (GameOver = false) and ((GameFlags and gfInfAttack) = 0) and ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) and (LuaNoEndTurnTaunts = false) then
         begin
         AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
         if (GameFlags and gfInfAttack = 0) then