diff options
author | Johannes Schickel | 2009-05-21 17:13:41 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-05-21 17:13:41 +0000 |
commit | 60b007cfd04625512bc7c62b8aebd7c2923f078b (patch) | |
tree | e00ed8f225d1d6bde09717d2bc8abad3cda70065 /engines/kyra | |
parent | 10b1b28610dedb876187e65836d083c15f3ea6ad (diff) | |
download | scummvm-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/kyra')
-rw-r--r-- | engines/kyra/kyra_v1.cpp | 2 |
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; |