diff options
author | Filippos Karapetis | 2010-11-17 14:48:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-17 14:48:28 +0000 |
commit | e55a55a277b64c41e0ffe2b4e4c0cc4a87de0cc8 (patch) | |
tree | 4c8b8795f50f2af28eb351bb1a012c6e8cd8f36a /engines/sci | |
parent | 47e137fd8e26471ff678b49355a2f01cfe1e6c39 (diff) | |
download | scummvm-rg350-e55a55a277b64c41e0ffe2b4e4c0cc4a87de0cc8.tar.gz scummvm-rg350-e55a55a277b64c41e0ffe2b4e4c0cc4a87de0cc8.tar.bz2 scummvm-rg350-e55a55a277b64c41e0ffe2b4e4c0cc4a87de0cc8.zip |
SCI: Remove key modifier (e.g. num lock) status for keyboard function keys. This fixes function key input (e.g. F3) when num lock is on
svn-id: r54294
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/event.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index 5d469eda7b..86cf44b505 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -230,6 +230,8 @@ SciEvent EventManager::getScummVMEvent() { input.character = input.data + 0x1900; else input.character = input.data; + // Remove modifier status (e.g. num lock) in this case + input.modifiers = 0; } else { // Special keys that need conversion input.type = SCI_EVENT_KEYBOARD; |