hedgewars/uSound.pas
changeset 14020 544b32038664
parent 14019 f09276eb0c27
child 14021 09e2e52aa025
--- a/hedgewars/uSound.pas	Sat Oct 27 15:55:19 2018 +0200
+++ b/hedgewars/uSound.pas	Sat Oct 27 17:17:01 2018 +0200
@@ -313,7 +313,10 @@
             (FileName:               'Ohdear.ogg'; Path: ptVoices; AltPath: ptNone),// sndOhDear
             (FileName:          'Gonnagetyou.ogg'; Path: ptVoices; AltPath: ptNone),// sndGonnaGetYou
             (FileName:                 'Drat.ogg'; Path: ptVoices; AltPath: ptNone),// sndDrat
-            (FileName:               'Bugger.ogg'; Path: ptVoices; AltPath: ptNone) // sndBugger
+            (FileName:               'Bugger.ogg'; Path: ptVoices; AltPath: ptNone),// sndBugger
+            (FileName:              'Amazing.ogg'; Path: ptVoices; AltPath: ptNone),// sndAmazing
+            (FileName:            'Brilliant.ogg'; Path: ptVoices; AltPath: ptNone),// sndBrilliant
+            (FileName:            'Excellent.ogg'; Path: ptVoices; AltPath: ptNone) // sndExcellent
             );
 
 
@@ -534,7 +537,9 @@
                 else if (snd = sndWhatThe) then
                     snd := sndNooo
                 else if (snd = sndThisOneIsMine) then
-                    snd := sndReinforce;
+                    snd := sndReinforce
+                else if (snd in [sndAmazing, sndBrilliant, sndExcellent]) then
+                    snd := sndEnemyDown;
 
                 s:= cPathz[Soundz[snd].Path] + '/' + voicepack^.name + '/' + Soundz[snd].FileName;
                 end;