diff options
author | Sylvain Dupont | 2011-01-29 16:02:20 +0000 |
---|---|---|
committer | Sylvain Dupont | 2011-01-29 16:02:20 +0000 |
commit | 896b87c71016b41a2836e4eca792d856b20929ca (patch) | |
tree | 0520ce4836c7870163690ddd16f5d4697cae91fb | |
parent | fad6d32e021459a8219c1d1e3782fed2ddb48091 (diff) | |
download | scummvm-rg350-896b87c71016b41a2836e4eca792d856b20929ca.tar.gz scummvm-rg350-896b87c71016b41a2836e4eca792d856b20929ca.tar.bz2 scummvm-rg350-896b87c71016b41a2836e4eca792d856b20929ca.zip |
TOON: Bug #3166570 fixed. Magnifier effect when selecting Enigma book
Bug #3166570: "TOON: Wrong mouse-cursor for Item "Book-Enigma"
svn-id: r55616
-rw-r--r-- | engines/toon/toon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |