aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-09-24 22:05:28 +0200
committerWillem Jan Palenstijn2012-09-24 22:05:28 +0200
commit1277a04e600a611d9da884a1ba232ea5953e7d0c (patch)
treed61000259877b00677c90f9760a228c2f4415a36 /engines
parentedeedc3cc57b2d0fee8431a6b6f27b1b308bb2b7 (diff)
downloadscummvm-rg350-1277a04e600a611d9da884a1ba232ea5953e7d0c.tar.gz
scummvm-rg350-1277a04e600a611d9da884a1ba232ea5953e7d0c.tar.bz2
scummvm-rg350-1277a04e600a611d9da884a1ba232ea5953e7d0c.zip
TONY: Don't mute all sound when using sound config dialog
Thanks to fuzzie for noticing this.
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/tony.cpp6
1 files changed, 3 insertions, 3 deletions
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);