diff options
author | Martin Kiewitz | 2016-02-02 11:43:58 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-02 11:43:58 +0100 |
commit | bc0dd6f8214201a4b2220c72702d4f3aff061f0d (patch) | |
tree | 9924fa82e9df91cfe8094f90b8052e3ec9a27f59 /engines/sci | |
parent | 7aeadba863ed1893fa6095008d35b32ce5117749 (diff) | |
download | scummvm-rg350-bc0dd6f8214201a4b2220c72702d4f3aff061f0d.tar.gz scummvm-rg350-bc0dd6f8214201a4b2220c72702d4f3aff061f0d.tar.bz2 scummvm-rg350-bc0dd6f8214201a4b2220c72702d4f3aff061f0d.zip |
SCI: Fix regression of previous keycode commit
7aeadba863ed1893fa6095008d35b32ce5117749
Thanks LordHoto for spotting it
Diffstat (limited to 'engines/sci')
-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++) { |