aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2014-07-23 02:39:51 +0200
committerJohannes Schickel2014-07-23 02:39:51 +0200
commit94f504f22a69177f591d2d2e9b856d9ad0bfbe20 (patch)
treedfb95ba32eeaeb41b88a0b6110ef2c7323ad8c7b /engines/scumm
parent1efc311de08301271ab72ec310e1d5a972846186 (diff)
downloadscummvm-rg350-94f504f22a69177f591d2d2e9b856d9ad0bfbe20.tar.gz
scummvm-rg350-94f504f22a69177f591d2d2e9b856d9ad0bfbe20.tar.bz2
scummvm-rg350-94f504f22a69177f591d2d2e9b856d9ad0bfbe20.zip
SCUMM: Fix Ctrl+t key code combination to affect speech mode.
Formerly, the key code combination didn't unmute speech at all.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/input.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/input.cpp b/engines/scumm/input.cpp
index 5e2566dc32..824dfec144 100644
--- a/engines/scumm/input.cpp
+++ b/engines/scumm/input.cpp
@@ -435,8 +435,9 @@ void ScummEngine_v6::processKeyboard(Common::KeyState lastKeyHit) {
break;
}
- if (VAR_VOICE_MODE != 0xFF)
- VAR(VAR_VOICE_MODE) = _voiceMode;
+ // We need to sync the current sound settings here to make sure that
+ // we actually update the mute state of speech properly.
+ syncSoundSettings();
return;
}