From 896b87c71016b41a2836e4eca792d856b20929ca Mon Sep 17 00:00:00 2001 From: Sylvain Dupont Date: Sat, 29 Jan 2011 16:02:20 +0000 Subject: TOON: Bug #3166570 fixed. Magnifier effect when selecting Enigma book Bug #3166570: "TOON: Wrong mouse-cursor for Item "Book-Enigma" svn-id: r55616 --- engines/toon/toon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/toon/toon.cpp') diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index 93fdc29470..65ca3157a0 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -472,7 +472,7 @@ void ToonEngine::doMagnifierEffect() { void ToonEngine::copyToVirtualScreen(bool updateScreen) { // render cursor last if (!_gameState->_mouseHidden) { - if (_cursorAnimationInstance->getFrame() == 7) // magnifier icon needs a special effect + if (_cursorAnimationInstance->getFrame() == 7 && _cursorAnimationInstance->getAnimation() == _cursorAnimation) // magnifier icon needs a special effect doMagnifierEffect(); _cursorAnimationInstance->setPosition(_mouseX - 40 + state()->_currentScrollValue - _cursorOffsetX, _mouseY - 40 - _cursorOffsetY, 0, false); _cursorAnimationInstance->render(); -- cgit v1.2.3