SHERLOCK: SS: Fix audio getting disabled after changing sound settings

This commit is contained in:
Paul Gilbert 2015-09-27 23:27:42 -04:00
parent 3fa3a7197a
commit 35d5533361

View File

@ -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) {