diff options
author | Johannes Schickel | 2010-03-27 13:29:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-03-27 13:29:10 +0000 |
commit | a3ab15e8cf13c1137a0baf7ec75320d21f22d6f1 (patch) | |
tree | 421f6297c3c3f1a66ef50ff80f9c05b607854261 | |
parent | a2de7bb0ef8118c32e6e3ad1a945a8021544c519 (diff) | |
download | scummvm-rg350-a3ab15e8cf13c1137a0baf7ec75320d21f22d6f1.tar.gz scummvm-rg350-a3ab15e8cf13c1137a0baf7ec75320d21f22d6f1.tar.bz2 scummvm-rg350-a3ab15e8cf13c1137a0baf7ec75320d21f22d6f1.zip |
Use the enumerators instead of hardcoding the values of them.
svn-id: r48411
-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 1de9e97936..c0ca412f11 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 & 7) << 24); + _keyCode = (int32)_event.kbd.keycode | ((_event.kbd.flags & (Common::KBD_CTRL | Common::KBD_ALT | Common::KBD_SHIFT)) << 24); break; |