SCI: Fix regression of previous keycode commit

7aeadba863ed1893fa6095008d35b32ce5117749
Thanks LordHoto for spotting it
This commit is contained in:
Martin Kiewitz 2016-02-02 11:43:58 +01:00
parent 7aeadba863
commit bc0dd6f821

View File

@ -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++) {