Project

General

Profile

Feature #2145 ยป 0052-Remove-transferred-city-from-aarea-cities-list.patch

Marko Lindqvist, 08/17/2026 05:34 AM

View differences:

server/citytools.c
city_rally_point_clear(pcity);
/* Clear pointer to old owner's access areas */
pcity->aarea = nullptr;
if (pcity->aarea != nullptr) {
city_list_remove(pcity->aarea->cities, pcity);
pcity->aarea = nullptr;
}
/* Activate AI control of the new owner. */
CALL_PLR_AI_FUNC(city_got, ptaker, ptaker, pcity);
    (1-1/1)