diff options
Diffstat (limited to 'engines/sci/event.cpp')
-rw-r--r-- | engines/sci/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index 8a5d67d935..1f7cc014db 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -268,7 +268,7 @@ SciEvent EventManager::getScummVMEvent() { // SCI_K_SHIFT_F1 == 84 << 8 input.character = SCI_KEY_F1 + ((scummVMKeycode - Common::KEYCODE_F1)<<8); if (ourModifiers & Common::KBD_SHIFT) - input.character = scummVMKeycode + 0x1900; + input.character = input.character + 0x1900; } else { // Special keys that need conversion for (int i = 0; i < ARRAYSIZE(keyMappings); i++) { |