diff options
author | Paul Gilbert | 2015-09-27 23:27:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-09-27 23:27:42 -0400 |
commit | 35d55333615959d08f53d4e54083af10bf8416fe (patch) | |
tree | 792e9fce7f3f0eb3e84da7af68163dfe6c5611ad /engines/sherlock | |
parent | 3fa3a7197a031f82079ff48aa2df3d1433c5d3d1 (diff) | |
download | scummvm-rg350-35d55333615959d08f53d4e54083af10bf8416fe.tar.gz scummvm-rg350-35d55333615959d08f53d4e54083af10bf8416fe.tar.bz2 scummvm-rg350-35d55333615959d08f53d4e54083af10bf8416fe.zip |
SHERLOCK: SS: Fix audio getting disabled after changing sound settings
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp index 66b5b5bf5c..a653db51a3 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) { |