Add “boring” voice to voice queue to avoid voice overlapping
authorWuzzy <almikes@aol.com>
Sun, 01 May 2016 02:40:12 +0200
changeset 11922 d0296b8e60c0
parent 11921 b1782491f19c
child 11923 85cbb2368269
Add “boring” voice to voice queue to avoid voice overlapping
hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Sun May 01 02:36:17 2016 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Sun May 01 02:40:12 2016 +0200
@@ -1219,7 +1219,7 @@
         TagTurnTimeLeft:= TurnTimeLeft;
     TurnTimeLeft:= 0;
     if ((HHGear^.State and gstAttacked) = 0) and (HHGear^.Damage = 0) then
-        PlaySoundV(sndBoring, Hedgehog^.Team^.voicepack);
+        AddVoice(sndBoring, Hedgehog^.Team^.voicepack);
     isCursorVisible:= false;
     HHGear^.State:= HHGear^.State and (not (gstHHDriven or gstAnimation or gstAttacking));
     AttackBar:= 0;