[Scummvm-cvs-logs] scummvm master -> 1277a04e600a611d9da884a1ba232ea5953e7d0c

wjp wjp at usecode.org
Mon Sep 24 22:07:42 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: 1277a04e600a611d9da884a1ba232ea5953e7d0c
    https://github.com/scummvm/scummvm/commit/1277a04e600a611d9da884a1ba232ea5953e7d0c
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-09-24T13:05:28-07:00

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

Thanks to fuzzie for noticing this.

Changed paths:
    engines/tony/tony.cpp



diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index 6503c09..c958352 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);






More information about the Scummvm-git-logs mailing list