mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
FULLPIPE: Add sanity check
This commit is contained in:
parent
8a9366527f
commit
e26462696d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user