hedgewars/uSound.pas
changeset 1777 88674c291331
parent 1712 f5b916de40f0
child 2171 8208946331ba
--- a/hedgewars/uSound.pas	Thu Jan 29 17:27:43 2009 +0000
+++ b/hedgewars/uSound.pas	Fri Jan 30 14:56:27 2009 +0000
@@ -77,9 +77,8 @@
 Mix_AllocateChannels(Succ(chanTPU));
 if isMusicEnabled then Mix_VolumeMusic(50);
 
-Volume:= cInitVolume;
-if Volume < 0 then Volume:= 0;
-Volume:= Mix_Volume(-1, Volume)
+Volume:= 0;
+ChangeVolume(cInitVolume)
 end;
 
 procedure ReleaseSound;