diff options
author | Alyssa Milburn | 2012-02-02 12:40:25 +0100 |
---|---|---|
committer | Alyssa Milburn | 2012-02-02 12:40:25 +0100 |
commit | 7e9b0114d8edd4de3869b259d2ce7a358285453d (patch) | |
tree | 7672dac49d3a1463a8c25479799fd258ad74f7c5 /engines/hugo | |
parent | 66c3279b2f69a483ec3cc5ff1d8ed84e33621162 (diff) | |
download | scummvm-rg350-7e9b0114d8edd4de3869b259d2ce7a358285453d.tar.gz scummvm-rg350-7e9b0114d8edd4de3869b259d2ce7a358285453d.tar.bz2 scummvm-rg350-7e9b0114d8edd4de3869b259d2ce7a358285453d.zip |
HUGO: Fix keyHandler (noticed by Strangerke).
Diffstat (limited to 'engines/hugo')
-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)) { |