# HG changeset patch # User spudpiggy # Date 1712319055 -3600 # Node ID 1f9f971adec4bdf7d2de2485f1534305947d30de # Parent 1fd65aad285d4db616866ba4f747418012044f42 sndCover now falls back to sndWatchThis OR sndFire. sndDrat and sndBugger now fall back to each other. diff -r 1fd65aad285d -r 1f9f971adec4 hedgewars/uSound.pas --- a/hedgewars/uSound.pas Fri Apr 05 07:37:44 2024 +0100 +++ b/hedgewars/uSound.pas Fri Apr 05 13:10:55 2024 +0100 @@ -508,9 +508,16 @@ GetFallbackV := sndNooo else GetFallbackV := sndUhOh - else if (snd in [sndDrat, sndBugger]) then - GetFallbackV := sndStupid - else if (snd in [sndGonnaGetYou, sndIllGetYou, sndJustYouWait, sndCutItOut, sndLeaveMeAlone]) then + else if (snd = sndCover) then + if random(2) = 0 then + GetFallbackV := sndWatchThis + else + GetFallbackV := sndFire + else if (snd in [sndBugger]) then + GetFallbackV := sndDrat + else if (snd in [sndDrat] then) + GetFallbackV := sndBugger + else if (snd in [sndGonnaGetYou, sndIllGetYou, sndRevenge, sndCutItOut, sndLeaveMeAlone]) then GetFallbackV := sndRegret else if (snd in [sndOhDear, sndSoLong]) then GetFallbackV := sndByeBye