diff options
author | sylvaintv | 2011-07-12 22:55:14 +0200 |
---|---|---|
committer | sylvaintv | 2011-07-12 22:55:14 +0200 |
commit | ab5850af625d44dad0c8357a0b1ae6b15e1fba40 (patch) | |
tree | b2b206ce24195aeddca3bd6d22e89a844fb2b28b /engines/toon | |
parent | 25c0f0a772731144f223ac89a9d9a1977861c616 (diff) | |
download | scummvm-rg350-ab5850af625d44dad0c8357a0b1ae6b15e1fba40.tar.gz scummvm-rg350-ab5850af625d44dad0c8357a0b1ae6b15e1fba40.tar.bz2 scummvm-rg350-ab5850af625d44dad0c8357a0b1ae6b15e1fba40.zip |
TOON: Fix default walk to object with screen scrolling
Bug #3363119: "Toon: Player desapear when you use a object in pepper plant"
Diffstat (limited to 'engines/toon')
-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 401ab3d70e..cff6c24469 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -1552,7 +1552,7 @@ void ToonEngine::clickEvent() { return; } } else { - if (!_drew->walkTo(_mouseX, _mouseY)) { + if (!_drew->walkTo(_mouseX + _gameState->_currentScrollValue, _mouseY)) { // walk was canceled ? return; } |