From db232750b2825b7cc9b7e08bea0343613323496e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 30 Jul 2009 14:24:23 +0000 Subject: Fix bug which caused the mouse cursor not to update in some cases. svn-id: r42926 --- engines/kyra/items_mr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/kyra/items_mr.cpp') 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)); } -- cgit v1.2.3