hedgewars/uSound.pas
changeset 6367 a7fbf18b2d55
parent 6363 d812246272e8
child 6415 af2047bb4f70
--- a/hedgewars/uSound.pas	Sun Nov 13 21:18:33 2011 +0100
+++ b/hedgewars/uSound.pas	Sun Nov 13 21:28:11 2011 +0100
@@ -307,7 +307,7 @@
     if (not isSoundEnabled) or fastUntilLag or ((LastVoice.snd = snd) and  (LastVoice.voicepack = voicepack)) then exit;
     if (snd = sndVictory) or (snd = sndFlawless) then
         begin
-        Mix_HaltChannel(-1);
+        Mix_FadeOutChannel(-1, 800);
         for i:= 0 to 7 do VoiceList[i].snd:= sndNone;
         LastVoice.snd:= sndNone;
         end;