diff options
author | Paul Gilbert | 2010-03-27 07:13:30 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-03-27 07:13:30 +0000 |
commit | c73a50b4e31e5c5326bab3b3c6ca9f7a5354c2b0 (patch) | |
tree | 3ae48d12c452104b908e0f689e68d47ac5a0f2d8 | |
parent | 8dfd670b22cf118aa3fd1fc6198ff539ac332a79 (diff) | |
download | scummvm-rg350-c73a50b4e31e5c5326bab3b3c6ca9f7a5354c2b0.tar.gz scummvm-rg350-c73a50b4e31e5c5326bab3b3c6ca9f7a5354c2b0.tar.bz2 scummvm-rg350-c73a50b4e31e5c5326bab3b3c6ca9f7a5354c2b0.zip |
Changed the encoding of keycodes to only include the flags for Ctrl, Alt, and Shift
svn-id: r48408
-rw-r--r-- | engines/m4/events.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/events.cpp b/engines/m4/events.cpp index 0acf0cd6e4..1de9e97936 100644 --- a/engines/m4/events.cpp +++ b/engines/m4/events.cpp @@ -80,7 +80,7 @@ M4EventType Events::handleEvents() { } _ctrlFlag = false; } - _keyCode = (int32)_event.kbd.keycode | (_event.kbd.flags << 24); + _keyCode = (int32)_event.kbd.keycode | ((_event.kbd.flags & 7) << 24); break; |