aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-21 17:13:41 +0000
committerJohannes Schickel2009-05-21 17:13:41 +0000
commit60b007cfd04625512bc7c62b8aebd7c2923f078b (patch)
treee00ed8f225d1d6bde09717d2bc8abad3cda70065 /engines
parent10b1b28610dedb876187e65836d083c15f3ea6ad (diff)
downloadscummvm-rg350-60b007cfd04625512bc7c62b8aebd7c2923f078b.tar.gz
scummvm-rg350-60b007cfd04625512bc7c62b8aebd7c2923f078b.tar.bz2
scummvm-rg350-60b007cfd04625512bc7c62b8aebd7c2923f078b.zip
Only process key/mouse press/release events in GUI.
svn-id: r40766
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/kyra_v1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index c055735bab..4615a0a5fc 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -370,7 +370,7 @@ int KyraEngine_v1::checkInput(Button *buttonList, bool mainLoop) {
}
GUI *guiInstance = gui();
- if (guiInstance)
+ if (guiInstance && keys)
return guiInstance->processButtonList(buttonList, keys | 0x8000, mouseWheel);
else
return keys;