# HG changeset patch # User nemo # Date 1511390327 18000 # Node ID afd312fc270d2f05941b97fa071df539e8aacf4c # Parent ad2d448bbcab3273212554b747d0e09d034c9167 infinite attack resets flags so probably should skip this diff -r ad2d448bbcab -r afd312fc270d hedgewars/uGearsHedgehog.pas --- 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