TONY: Don't mute all sound when using sound config dialog

Thanks to fuzzie for noticing this.
This commit is contained in:
Willem Jan Palenstijn 2012-09-24 22:05:28 +02:00
parent edeedc3cc5
commit 1277a04e60

View file

@ -772,9 +772,9 @@ void TonyEngine::syncSoundSettings() {
}
void TonyEngine::saveSoundSettings() {
ConfMan.setBool("speech_mute", GLOBALS._bCfgDubbing);
ConfMan.setBool("sfx_mute", GLOBALS._bCfgSFX);
ConfMan.setBool("music_mute", GLOBALS._bCfgMusic);
ConfMan.setBool("speech_mute", !GLOBALS._bCfgDubbing);
ConfMan.setBool("sfx_mute", !GLOBALS._bCfgSFX);
ConfMan.setBool("music_mute", !GLOBALS._bCfgMusic);
ConfMan.setInt("speech_volume", GLOBALS._nCfgDubbingVolume * 256 / 10);
ConfMan.setInt("sfx_volume", GLOBALS._nCfgSFXVolume * 256 / 10);