aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]);