Project

General

Profile

Bug #2090 ยป 0030-transfer_city-Clear-aarea-information.patch

Marko Lindqvist, 07/27/2026 11:17 PM

View differences:

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