From 1277a04e600a611d9da884a1ba232ea5953e7d0c Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 24 Sep 2012 22:05:28 +0200 Subject: TONY: Don't mute all sound when using sound config dialog Thanks to fuzzie for noticing this. --- engines/tony/tony.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/tony') diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp index 6503c09aa8..c9583525d0 100644 --- a/engines/tony/tony.cpp +++ b/engines/tony/tony.cpp @@ -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); -- cgit v1.2.3