[Scummvm-cvs-logs] scummvm master -> 35d55333615959d08f53d4e54083af10bf8416fe
dreammaster
dreammaster at scummvm.org
Mon Sep 28 05:28:09 CEST 2015
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:
35d5533361 SHERLOCK: SS: Fix audio getting disabled after changing sound settings
Commit: 35d55333615959d08f53d4e54083af10bf8416fe
https://github.com/scummvm/scummvm/commit/35d55333615959d08f53d4e54083af10bf8416fe
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-09-27T23:27:42-04:00
Commit Message:
SHERLOCK: SS: Fix audio getting disabled after changing sound settings
Changed paths:
engines/sherlock/sound.cpp
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
index 66b5b5b..a653db5 100644
--- a/engines/sherlock/sound.cpp
+++ b/engines/sherlock/sound.cpp
@@ -90,7 +90,7 @@ Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
void Sound::syncSoundSettings() {
_digitized = !ConfMan.getBool("mute");
_speechOn = !ConfMan.getBool("mute") && !ConfMan.getBool("speech_mute");
- _voices = _speechOn ? 1 : 0;
+ _voices = _digitized ? 1 : 0;
}
void Sound::loadSound(const Common::String &name, int priority) {
More information about the Scummvm-git-logs
mailing list