aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2008-05-14 21:52:52 +0000
committerFlorian Kagerer2008-05-14 21:52:52 +0000
commitf481821eeb6c757a1300d62c8a762e86e5a2213b (patch)
tree1629c9fede5f1f8226077b9444597802b2d6909a /engines
parentebe1009335f369185ed4d836d4fc9d525824009f (diff)
downloadscummvm-rg350-f481821eeb6c757a1300d62c8a762e86e5a2213b.tar.gz
scummvm-rg350-f481821eeb6c757a1300d62c8a762e86e5a2213b.tar.bz2
scummvm-rg350-f481821eeb6c757a1300d62c8a762e86e5a2213b.zip
fix regression in KyraEngine_LoK::setMouseItem
svn-id: r32128
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/items_lok.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/items_lok.cpp b/engines/kyra/items_lok.cpp
index e86be25707..5d9a4d5ae5 100644
--- a/engines/kyra/items_lok.cpp
+++ b/engines/kyra/items_lok.cpp
@@ -193,7 +193,7 @@ void KyraEngine_LoK::removeHandItem() {
void KyraEngine_LoK::setMouseItem(int item) {
debugC(9, kDebugLevelMain, "KyraEngine_LoK::setMouseItem(%d)", item);
- if (item == -1)
+ if (item == 0xFFFF)
_screen->setMouseCursor(1, 1, _shapes[6]);
else
_screen->setMouseCursor(8, 15, _shapes[216+item]);