mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
Use the enumerators instead of hardcoding the values of them.
svn-id: r48411
This commit is contained in:
parent
a2de7bb0ef
commit
a3ab15e8cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user