diff options
Diffstat (limited to 'engines/hugo/parser.cpp')
-rw-r--r-- | engines/hugo/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp index a0ad4c0986..4eaed6fecf 100644 --- a/engines/hugo/parser.cpp +++ b/engines/hugo/parser.cpp @@ -271,7 +271,7 @@ void Parser::keyHandler(Common::Event event) { status_t &gameStatus = _vm->getGameStatus(); uint16 nChar = event.kbd.keycode; - if ((event.kbd.hasFlags(Common::KBD_ALT)) || (event.kbd.hasFlags(Common::KBD_SCRL))) + if (event.kbd.flags & (Common::KBD_ALT | Common::KBD_SCRL)) return; if (event.kbd.hasFlags(Common::KBD_CTRL)) { |