mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
PETKA: fix crash in petka 2
This commit is contained in:
parent
b02ebc6ca7
commit
3ec82210a9
@ -49,7 +49,9 @@ void InterfaceMap::start(int id) {
|
||||
for (uint i = 0; i < info->attachedObjIds.size(); ++i) {
|
||||
QMessageObject *obj = sys->findObject(info->attachedObjIds[i]);
|
||||
FlicDecoder *flc = g_vm->resMgr()->getFlic(obj->_resourceId);
|
||||
flc->setFrame(1);
|
||||
if (flc) {
|
||||
flc->setFrame(1);
|
||||
}
|
||||
obj->_z = 1;
|
||||
obj->_x = 0;
|
||||
obj->_y = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user