workaround - not great though since they probably should have proper initial values like they used to have in uConsts. leaving a note to koda
--- a/hedgewars/uSound.pas Tue Jul 24 17:50:42 2012 -0400
+++ b/hedgewars/uSound.pas Tue Jul 24 18:53:42 2012 -0400
@@ -587,11 +587,8 @@
RegisterVariable('mute' , @chMute , true );
MusicFN:='';
- isMusicEnabled:= true;
- isSoundEnabled:= true;
isAudioMuted:= false;
isSEBackup:= isSoundEnabled;
- cInitVolume:= 100;
Volume:= 0;
defVoicepack:= AskForVoicepack('Default');
@@ -615,6 +612,11 @@
begin
if isSoundEnabled then
ReleaseSound(true);
+ // koda still needs to fix this properly. when he rearranged things, he made these variables get
+ // reset after argparsers picks them up
+ isMusicEnabled:= true;
+ isSoundEnabled:= true;
+ cInitVolume:= 100;
end;
end.