hedgewars/uSound.pas
changeset 7024 3e1cca870090
parent 7021 0c75512a8920
child 7043 7c080e5ac8d0
--- a/hedgewars/uSound.pas	Sat May 05 16:41:14 2012 +0200
+++ b/hedgewars/uSound.pas	Sat May 05 16:53:46 2012 +0100
@@ -181,7 +181,6 @@
 
     Mix_AllocateChannels(Succ(chanTPU));
     ChangeVolume(cInitVolume);
-    defVoicepack:= AskForVoicepack('Default');
 end;
 
 procedure SetSound;
@@ -547,6 +546,7 @@
     isSEBackup:= isSoundEnabled;
     cInitVolume:= 100;
     Volume:= 0;
+    defVoicepack:= AskForVoicepack('Default');
 
     for i:= Low(TSound) to High(TSound) do
         lastChan[i]:= -1;