From f348164593f3688f3d1cb19f9f6e2950fc6a242f Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 17 Sep 2023 18:16:12 +0300 Subject: [PATCH 21/21] Update city_map_update_[empty|worker]() headers See osdn #48652 Signed-off-by: Marko Lindqvist --- server/citytools.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/server/citytools.c b/server/citytools.c index 0bfe43cb8a..b9998f3ee5 100644 --- a/server/citytools.c +++ b/server/citytools.c @@ -3230,9 +3230,11 @@ void change_build_target(struct player *pplayer, struct city *pcity, } /************************************************************************//** - Change from worked to empty. - city_x, city_y are city map coordinates. + Change city tile from worked to empty. Call sync_cities() to send the affected cities to the clients. + + @param pcity City to change worker status + @param ptile Tile to clear worker from ****************************************************************************/ void city_map_update_empty(struct city *pcity, struct tile *ptile) { @@ -3242,9 +3244,11 @@ void city_map_update_empty(struct city *pcity, struct tile *ptile) } /************************************************************************//** - Change from empty to worked. - city_x, city_y are city map coordinates. + Change city tile from empty to worked. Call sync_cities() to send the affected cities to the clients. + + @param pcity City to change worker status + @param ptile Tile to set worker to ****************************************************************************/ void city_map_update_worker(struct city *pcity, struct tile *ptile) { -- 2.40.1