diff options
author | Eugene Sandulenko | 2014-05-14 12:17:20 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-05-14 12:20:24 +0200 |
commit | a8effe2a6e0b08e4e4e5f2d0e36b58663a908cf7 (patch) | |
tree | 1f7797bccb8e10b91427975f1207d32004458a36 /engines/fullpipe/motion.cpp | |
parent | de1df05b1f47abe4c7091c14bbd4d46ef542c9bb (diff) | |
download | scummvm-rg350-a8effe2a6e0b08e4e4e5f2d0e36b58663a908cf7.tar.gz scummvm-rg350-a8effe2a6e0b08e4e4e5f2d0e36b58663a908cf7.tar.bz2 scummvm-rg350-a8effe2a6e0b08e4e4e5f2d0e36b58663a908cf7.zip |
FULLPIPE: Added more debug output
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r-- | engines/fullpipe/motion.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 9fcb01296a..b9fdc43286 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -1500,6 +1500,8 @@ MessageQueue *MovGraph2::doWalkTo(StaticANIObject *obj, int xpos, int ypos, int PicAniInfo picAniInfo; Common::Point point; + debug(0, "MovGraph2::doWalkTo(%d, %d, %d, %d, %d)", obj->_id, xpos, ypos, fuzzyMatch, staticsId); + int idx = getItemIndexByGameObjectId(obj->_id); if (idx < 0) @@ -3127,11 +3129,11 @@ bool MovGraphReact::pointInRegion(int x, int y) { } } -int startWalkTo(int objId, int objKey, int x, int y, int a5) { - MctlCompound *mc = getSc2MctlCompoundBySceneId(g_fp->_currentScene->_sceneId); +int startWalkTo(int objId, int objKey, int x, int y, int fuzzyMatch) { + MctlCompound *mc = getCurrSceneSc2MotionController(); if (mc) - return (mc->method34(g_fp->_currentScene->getStaticANIObject1ById(objId, objKey), x, y, a5, 0) != 0); + return (mc->method34(g_fp->_currentScene->getStaticANIObject1ById(objId, objKey), x, y, fuzzyMatch, 0) != 0); return 0; } |