Revert "Fix crash in _map_age_dead_critters"

This reverts commit e6f6ba5c8b.
This commit is contained in:
Alexander Batalov 2023-05-23 17:15:02 +03:00
parent 2103bc79ef
commit eb2fc275ee
1 changed files with 0 additions and 3 deletions

View File

@ -2146,8 +2146,6 @@ Object* objectFindFirst()
return NULL;
}
gObjectFindTile++;
while (objectListNode != NULL) {
if (artIsObjectTypeHidden(FID_TYPE(objectListNode->obj->fid)) == 0) {
gObjectFindLastObjectListNode = objectListNode;
@ -2201,7 +2199,6 @@ Object* objectFindFirstAtElevation(int elevation)
if (object->elevation == elevation) {
if (!artIsObjectTypeHidden(FID_TYPE(object->fid))) {
gObjectFindLastObjectListNode = objectListNode;
gObjectFindTile++;
return object;
}
}