From 94f504f22a69177f591d2d2e9b856d9ad0bfbe20 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 23 Jul 2014 02:39:51 +0200 Subject: SCUMM: Fix Ctrl+t key code combination to affect speech mode. Formerly, the key code combination didn't unmute speech at all. --- engines/scumm/input.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/scumm') 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; } -- cgit v1.2.3