mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 05:34:00 +00:00
FULLPIPE: Fix bug in picture search
This commit is contained in:
parent
38a0c8556f
commit
77daa12f85
@ -327,7 +327,7 @@ void Scene::setPictureObjectsFlag4() {
|
||||
}
|
||||
|
||||
PictureObject *Scene::getPictureObjectById(int objId, int flags) {
|
||||
for (uint i = 0; i < _picObjList.size(); i++) {
|
||||
for (uint i = 1; i < _picObjList.size(); i++) {
|
||||
if (((PictureObject *)_picObjList[i])->_id == objId && ((PictureObject *)_picObjList[i])->_okeyCode == flags)
|
||||
return (PictureObject *)_picObjList[i];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user