fix more breakage
authorkoda
Sat, 05 May 2012 16:53:46 +0100
changeset 7024 3e1cca870090
parent 7023 b320ff81cc73
child 7025 831a25c74c7b
fix more breakage
hedgewars/uSound.pas
--- 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;