Bug #2090 ยป 0030-transfer_city-Clear-aarea-information.patch
| 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);
|
||