From f481821eeb6c757a1300d62c8a762e86e5a2213b Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Wed, 14 May 2008 21:52:52 +0000 Subject: fix regression in KyraEngine_LoK::setMouseItem svn-id: r32128 --- engines/kyra/items_lok.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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]); -- cgit v1.2.3