aboutsummaryrefslogtreecommitdiff
path: root/kyra/kyra.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2005-12-26 17:31:42 +0000
committerJohannes Schickel2005-12-26 17:31:42 +0000
commit3385ce861767b8e0c1c694e78a2bbe5a53568d47 (patch)
treeb8197cc62efee2a5a91da5c0b8d5c5c0a12f7492 /kyra/kyra.cpp
parent55f737c4a2b6f8dc51241dad02d2e2692e734213 (diff)
downloadscummvm-rg350-3385ce861767b8e0c1c694e78a2bbe5a53568d47.tar.gz
scummvm-rg350-3385ce861767b8e0c1c694e78a2bbe5a53568d47.tar.bz2
scummvm-rg350-3385ce861767b8e0c1c694e78a2bbe5a53568d47.zip
Fixed bug with input handling and implemented: cmd_getBirthstoneGem.
svn-id: r19834
Diffstat (limited to 'kyra/kyra.cpp')
-rw-r--r--kyra/kyra.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp
index 7f91f7cdc9..f37e84f329 100644
--- a/kyra/kyra.cpp
+++ b/kyra/kyra.cpp
@@ -5341,8 +5341,8 @@ void KyraEngine::processInput(int xpos, int ypos) {
uint8 item = findItemAtPos(xpos, ypos);
if (item == 0xFF) {
_changedScene = false;
- clickEventHandler(xpos, ypos);
- if (_changedScene)
+ int handled = clickEventHandler(xpos, ypos);
+ if (_changedScene || handled)
return;
}