From 95a85a8984bbd9e6fe9a84d1fa83f1bf1652dc46 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 10 May 2008 17:41:34 +0000 Subject: Simplification in updateItemAnimations in KyraEngine_HoF and KyraEngine_MR. svn-id: r31976 --- engines/kyra/animator_hof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/animator_hof.cpp') diff --git a/engines/kyra/animator_hof.cpp b/engines/kyra/animator_hof.cpp index 9314f8604e..f9fe281179 100644 --- a/engines/kyra/animator_hof.cpp +++ b/engines/kyra/animator_hof.cpp @@ -139,7 +139,7 @@ void KyraEngine_HoF::updateItemAnimations() { return; uint16 shpIdx = s->frames[a->currentFrame].index + 64; - if ((s->itemIndex == _handItemSet || s->itemIndex == _itemInHand) && (!_mouseState && _screen->isMouseVisible())) { + if (s->itemIndex == _handItemSet && s->itemIndex == _itemInHand && _screen->isMouseVisible()) { nextFrame = true; _screen->setMouseCursor(8, 15, getShapePtr(shpIdx)); } -- cgit v1.2.3