Revert "Fix crash in _map_age_dead_critters"
This reverts commit e6f6ba5c8b
.
This commit is contained in:
parent
2103bc79ef
commit
eb2fc275ee
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue