Remove weird fallbacks for sndHmm
authorWuzzy <Wuzzy2@mail.ru>
Sat, 08 Dec 2018 22:15:49 +0100
changeset 14394 07c9bdc45115
parent 14393 cf49fac6e88a
child 14395 e5eee50bd457
Remove weird fallbacks for sndHmm
hedgewars/uSound.pas
--- a/hedgewars/uSound.pas	Sat Dec 08 21:43:13 2018 +0100
+++ b/hedgewars/uSound.pas	Sat Dec 08 22:15:49 2018 +0100
@@ -502,14 +502,6 @@
         GetFallbackV := sndReinforce
     else if (snd in [sndAmazing, sndBrilliant, sndExcellent]) then
         GetFallbackV := sndEnemyDown
-    // Hmm is for enemy turn start
-    else if snd = sndHmm then
-        // these are not ideal fallbacks, but those were the voices which were used in older versions
-        // for enemy turn start
-        if random(2) = 0 then
-            GetFallbackV := sndIllGetYou
-        else
-            GetFallbackV := sndJustYouWait
     else
         GetFallbackV := sndNone;
 end;