hedgewars/uGearsHandlersMess.pas
changeset 14035 f09276eb0c27
parent 14032 3c40754f6cfe
child 14040 1effb8b72b11
--- a/hedgewars/uGearsHandlersMess.pas	Sat Oct 27 15:21:10 2018 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sat Oct 27 15:55:19 2018 +0200
@@ -216,7 +216,10 @@
             if (d > 1) and (gi^.Hedgehog^.Effects[heInvulnerable] = 0) and (GetRandom(2) = 0) then
                 begin
                 if (CurrentHedgehog^.Gear = gi) then
-                    PlaySoundV(sndOops, gi^.Hedgehog^.Team^.voicepack)
+                    if random(4) = 0 then
+                        PlaySoundV(sndWhatThe, gi^.Hedgehog^.Team^.voicepack)
+                    else
+                        PlaySoundV(sndOops, gi^.Hedgehog^.Team^.voicepack)
 
                 else
                     begin
@@ -234,7 +237,10 @@
                         PlaySoundV(sndGrenade, gi^.Hedgehog^.Team^.voicepack)
                     else
                         if d > r div 2 then
-                            PlaySoundV(sndNooo, gi^.Hedgehog^.Team^.voicepack)
+                            if random(3) = 0 then
+                                PlaySoundV(sndWhatThe, gi^.Hedgehog^.Team^.voicepack)
+                            else
+                                PlaySoundV(sndNooo, gi^.Hedgehog^.Team^.voicepack)
                         else
                             PlaySoundV(sndUhOh, gi^.Hedgehog^.Team^.voicepack);