[Scummvm-cvs-logs] scummvm master -> ab5850af625d44dad0c8357a0b1ae6b15e1fba40

sylvaintv sylvaintv at gmail.com
Tue Jul 12 22:57:33 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ab5850af62 TOON: Fix default walk to object with screen scrolling


Commit: ab5850af625d44dad0c8357a0b1ae6b15e1fba40
    https://github.com/scummvm/scummvm/commit/ab5850af625d44dad0c8357a0b1ae6b15e1fba40
Author: sylvaintv (sylvaintv at gmail.com)
Date: 2011-07-12T13:55:14-07:00

Commit Message:
TOON: Fix default walk to object with screen scrolling

Bug #3363119: "Toon: Player desapear when you use a object in pepper plant"

Changed paths:
    engines/toon/toon.cpp



diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 401ab3d..cff6c24 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;
 				}






More information about the Scummvm-git-logs mailing list