diff options
Diffstat (limited to 'engines/fullpipe/scenes/scene25.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene25.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene25.cpp b/engines/fullpipe/scenes/scene25.cpp index 83a0ee0a72..8323e3d705 100644 --- a/engines/fullpipe/scenes/scene25.cpp +++ b/engines/fullpipe/scenes/scene25.cpp @@ -441,7 +441,7 @@ void sceneHandler25_walkOnLadder(StaticANIObject *ani, Common::Point *pnt, Messa if (flag) { if (ani->_movement) { - ani->_movement->calcSomeXY(point, 0, ani->_movement->_currDynamicPhaseIndex); + point = ani->_movement->calcSomeXY(0, ani->_movement->_currDynamicPhaseIndex); newx = point.x; aniY = ani->_oy - point.y; } @@ -478,7 +478,7 @@ void sceneHandler25_walkOnLadder(StaticANIObject *ani, Common::Point *pnt, Messa newy = pnty; } - ani->getMovementById(ex->_messageNum)->calcSomeXY(point, 0, -1); + point = ani->getMovementById(ex->_messageNum)->calcSomeXY(0, -1); pntx += point.x; pnty += point.y; } |