adjust findCivzonesAt to v50 semantics

develop
Myk Taylor 2023-05-27 05:37:31 -07:00
parent 27ee0ae396
commit 8b3eef699f
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -465,7 +465,7 @@ bool Buildings::findCivzonesAt(std::vector<df::building_civzonest*> *pvec,
df::coord pos) { df::coord pos) {
pvec->clear(); pvec->clear();
for (df::building_civzonest* zone : world->buildings.other.ACTIVITY_ZONE) for (df::building_civzonest* zone : world->buildings.other.ANY_ZONE)
{ {
if (pos.z != zone->z) if (pos.z != zone->z)
continue; continue;