fix regression in KyraEngine_LoK::setMouseItem

svn-id: r32128
This commit is contained in:
Florian Kagerer 2008-05-14 21:52:52 +00:00
parent ebe1009335
commit f481821eeb

View File

@ -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]);