aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-07-30 14:24:23 +0000
committerJohannes Schickel2009-07-30 14:24:23 +0000
commitdb232750b2825b7cc9b7e08bea0343613323496e (patch)
treee0d850a108713cc32d93212ce4309d5cd3e94eb4 /engines/kyra
parent7fd0890e14462971df82963cc8cbc3cfc4d17be7 (diff)
downloadscummvm-rg350-db232750b2825b7cc9b7e08bea0343613323496e.tar.gz
scummvm-rg350-db232750b2825b7cc9b7e08bea0343613323496e.tar.bz2
scummvm-rg350-db232750b2825b7cc9b7e08bea0343613323496e.zip
Fix bug which caused the mouse cursor not to update in some cases.
svn-id: r42926
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/items_mr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/items_mr.cpp b/engines/kyra/items_mr.cpp
index 5397651e97..d08d58e65d 100644
--- a/engines/kyra/items_mr.cpp
+++ b/engines/kyra/items_mr.cpp
@@ -87,7 +87,8 @@ void KyraEngine_MR::setMouseCursor(uint16 item) {
shape = item+248;
}
- if ((int16)item != _itemInHand)
+ _mouseState = item;
+ if ((int16)item >= 0)
_screen->setMouseCursor(hotX, hotY, getShapePtr(shape));
}