Merge pull request #3425 from myk002/myk_find_zones

adjust findCivzonesAt to v50 semantics
develop
Myk 2023-05-28 20:36:27 -07:00 committed by GitHub
commit 0c6f3a15c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;