From d0c3b4857c8b7dddd58d2742525d5ab2c336005d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 3 Oct 2021 01:17:23 +0300 Subject: [PATCH 43/43] Clear rally point on city transfer Reported by Lexxie See osdn #42906 Signed-off-by: Marko Lindqvist --- server/citytools.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/citytools.c b/server/citytools.c index bd6f630670..5011fa5652 100644 --- a/server/citytools.c +++ b/server/citytools.c @@ -1107,6 +1107,9 @@ bool transfer_city(struct player *ptaker, struct city *pcity, /* Forget old tasks */ clear_worker_tasks(pcity); + /* Forget old rally point */ + city_rally_point_clear(pcity); + /* Activate AI control of the new owner. */ CALL_PLR_AI_FUNC(city_got, ptaker, ptaker, pcity); -- 2.33.0