aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorAlyssa Milburn2012-02-02 12:40:25 +0100
committerAlyssa Milburn2012-02-02 12:40:25 +0100
commit7e9b0114d8edd4de3869b259d2ce7a358285453d (patch)
tree7672dac49d3a1463a8c25479799fd258ad74f7c5 /engines/hugo
parent66c3279b2f69a483ec3cc5ff1d8ed84e33621162 (diff)
downloadscummvm-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.cpp2
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)) {