hedgewars/uSound.pas
changeset 14062 44f20c9e6861
parent 14058 bf8b7c166b3c
child 14063 006f97a6f6a7
--- a/hedgewars/uSound.pas	Wed Oct 31 13:08:56 2018 +0100
+++ b/hedgewars/uSound.pas	Wed Oct 31 13:35:53 2018 +0100
@@ -327,7 +327,8 @@
             (FileName:              'Runaway.ogg'; Path: ptVoices; AltPath: ptNone),// sndRunAway
             (FileName:              'Revenge.ogg'; Path: ptVoices; AltPath: ptNone),// sndRevenge
             (FileName:             'Cutitout.ogg'; Path: ptVoices; AltPath: ptNone),// sndCutItOut
-            (FileName:         'Leavemealone.ogg'; Path: ptVoices; AltPath: ptNone) // sndLeaveMeAlone
+            (FileName:         'Leavemealone.ogg'; Path: ptVoices; AltPath: ptNone),// sndLeaveMeAlone
+            (FileName:                 'Ouch.ogg'; Path: ptVoices; AltPath: ptNone) // sndOuch
             );
 
 
@@ -476,7 +477,7 @@
     // Fallback to sndFirePunch1 / sndOw1 / sndOoff1 if a “higher-numbered” sound is missing
     if (snd in [sndFirePunch2, sndFirePunch3, sndFirePunch4, sndFirePunch5, sndFirePunch6]) then
         GetFallbackV := sndFirePunch1
-    else if (snd in [sndOw2, sndOw3, sndOw4]) then
+    else if (snd in [sndOw2, sndOw3, sndOw4, sndOuch]) then
         GetFallbackV := sndOw1
     else if (snd in [sndOoff2, sndOoff3]) then
         GetFallbackV := sndOoff1