Skip to content

Commit

Permalink
FULLPIPE: Fix bug in picture search
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 19, 2013
1 parent 38a0c85 commit 77daa12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/fullpipe/scene.cpp
Expand Up @@ -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];
}
Expand Down

0 comments on commit 77daa12

Please sign in to comment.