From 92bf8a54200e762bc95a155e3cdcffd22ec258d3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 18 Oct 2014 22:06:48 +0300 Subject: SCI: Fix bug #6703: "SCI: QFG1 VGA - Can't CTRL+S to access statistics" This actually affected all Control+key combinations. A regression from 0f90b8eaad0335715d5f6aea6ede32ebbb746e25 --- engines/sci/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index 511d2014bd..b1c002413d 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -262,7 +262,7 @@ SciEvent EventManager::getScummVMEvent() { // Scancodify if appropriate if (modifiers & Common::KBD_ALT) input.character = altify(input.character); - else if ((modifiers & Common::KBD_CTRL) && input.character > 0 && input.character < 27) + if (getSciVersion() <= SCI_VERSION_1_MIDDLE && (modifiers & Common::KBD_CTRL) && input.character > 0 && input.character < 27) input.character += 96; // 0x01 -> 'a' // If no actual key was pressed (e.g. if only a modifier key was pressed), -- cgit v1.2.3