diff options
-rw-r--r-- | engines/fullpipe/scenes/scene25.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene25.cpp b/engines/fullpipe/scenes/scene25.cpp index 574e3ddace..ba07c3e5b9 100644 --- a/engines/fullpipe/scenes/scene25.cpp +++ b/engines/fullpipe/scenes/scene25.cpp @@ -509,6 +509,9 @@ void sceneHandler25_walkOnLadder(StaticANIObject *ani, Common::Point *pnt, Messa ani->_movement->setDynamicPhaseIndex(idx); } else { + if (!lastEx) + error("sceneHandler25_walkOnLadder(): Incorrect state. Please report this to sev"); + ani->changeStatics2(ani->getMovementById(lastEx->_messageNum)->_staticsObj1->_staticsId); ani->setOXY(newx, newy); ani->restartMessageQueue(mq); |