aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-10-18 22:06:48 +0300
committerFilippos Karapetis2014-10-18 22:06:48 +0300
commit92bf8a54200e762bc95a155e3cdcffd22ec258d3 (patch)
treea4feaf0214ea1481c64863666498f45d46b854de
parent879890e021028983dda5af3ea83156357ba239a6 (diff)
downloadscummvm-rg350-92bf8a54200e762bc95a155e3cdcffd22ec258d3.tar.gz
scummvm-rg350-92bf8a54200e762bc95a155e3cdcffd22ec258d3.tar.bz2
scummvm-rg350-92bf8a54200e762bc95a155e3cdcffd22ec258d3.zip
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
-rw-r--r--engines/sci/event.cpp2
1 files changed, 1 insertions, 1 deletions
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),