Use the enumerators instead of hardcoding the values of them.

svn-id: r48411
This commit is contained in:
Johannes Schickel 2010-03-27 13:29:10 +00:00
parent a2de7bb0ef
commit a3ab15e8cf

View File

@ -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;