hedgewars/uGearsHedgehog.pas
changeset 11914 c9bad8a01185
parent 11913 232b57a70aca
child 11922 d0296b8e60c0
--- a/hedgewars/uGearsHedgehog.pas	Sat Apr 30 20:55:16 2016 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Sat Nov 19 15:00:14 2016 +0100
@@ -1218,6 +1218,8 @@
     if TagTurnTimeLeft = 0 then
         TagTurnTimeLeft:= TurnTimeLeft;
     TurnTimeLeft:= 0;
+    if ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) then
+        PlaySoundV(sndBoring, Hedgehog^.Team^.voicepack);
     isCursorVisible:= false;
     HHGear^.State:= HHGear^.State and (not (gstHHDriven or gstAnimation or gstAttacking));
     AttackBar:= 0;