SHERLOCK: SS: Fix audio getting disabled after changing sound settings
This commit is contained in:
parent
3fa3a7197a
commit
35d5533361
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue