aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/toon.cpp
diff options
context:
space:
mode:
authorSylvain Dupont2011-01-29 16:02:20 +0000
committerSylvain Dupont2011-01-29 16:02:20 +0000
commit896b87c71016b41a2836e4eca792d856b20929ca (patch)
tree0520ce4836c7870163690ddd16f5d4697cae91fb /engines/toon/toon.cpp
parentfad6d32e021459a8219c1d1e3782fed2ddb48091 (diff)
downloadscummvm-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
Diffstat (limited to 'engines/toon/toon.cpp')
-rw-r--r--engines/toon/toon.cpp2
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();