RCS file: /cvsroot/scummvm/scummvm/scumm/object.cpp,v
retrieving revision 1.243
diff -u -r1.243 object.cpp
|
|
|
1182 | 1182 | int id2; |
1183 | 1183 | int obim_id; |
1184 | 1184 | |
1185 | | if (findWhat & foCheckAlreadyLoaded && getObjectIndex(id) != -1) { |
| 1185 | if (findWhat & foCheckAlreadyLoaded && (i = getObjectIndex(id)) != -1 && _objs[i].fl_object_index) { |
1186 | 1186 | if (_features & GF_OLD_BUNDLE) { |
1187 | 1187 | // I am not sure if this is even needed for old games... |
1188 | 1188 | // but using READ_BE_UINT32 below to determine the resource size |