# HG changeset patch
# User koda
# Date 1336233226 -3600
# Node ID 3e1cca870090c754886f2f0ebc5b9f0668217a65
# Parent  b320ff81cc7305497ec82c8f47a45465ce1c097a
fix more breakage

diff -r b320ff81cc73 -r 3e1cca870090 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;