mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-12 06:00:48 +00:00
FULLPIPE: Fix explicit null dereference. CID 1138360
This commit is contained in:
parent
f91f043b10
commit
0ebca03355
@ -1566,9 +1566,13 @@ void MGM::updateAnimStatics(StaticANIObject *ani, int staticsId) {
|
||||
ani->queueMessageQueue(0);
|
||||
ani->_movement->gotoLastFrame();
|
||||
ani->_statics = ani->_movement->_staticsObj2;
|
||||
|
||||
int x = ani->_movement->_ox;
|
||||
int y = ani->_movement->_oy;
|
||||
|
||||
ani->_movement = 0;
|
||||
|
||||
ani->setOXY(ani->_movement->_ox, ani->_movement->_oy);
|
||||
ani->setOXY(x, y);
|
||||
}
|
||||
|
||||
if (ani->_statics) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user