From 41164f71245ede229d3154e1ada42cf230780e98 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 1 Jul 2023 10:58:54 +0300 Subject: [PATCH 12/12] Update update_dumb_city() header - Correct name of refresh_dumb_city() - Minor style fixes See osdn #48315 Signed-off-by: Marko Lindqvist --- server/citytools.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/citytools.c b/server/citytools.c index f9ae6c8cb9..f7e40b9c2a 100644 --- a/server/citytools.c +++ b/server/citytools.c @@ -2569,14 +2569,14 @@ void package_city(struct city *pcity, struct packet_city_info *packet, } /************************************************************************** -updates a players knowledge about a city. If the player_tile already -contains a city it must be the same city (avoid problems by always calling -reality_check_city() first) - -Returns TRUE iff anything has changed for the player city (i.e., if the -client needs to be updated with a *short* city packet). This information -is only used in refresh_dumb_cities; elsewhere the data is (of necessity) -broadcast regardless. + Updates a players knowledge about a city. If the player_tile already + contains a city it must be the same city (avoid problems by always calling + reality_check_city() first) + + Returns TRUE iff anything has changed for the player city (i.e., if the + client needs to be updated with a *short* city packet). This information + is only used in refresh_dumb_city(); elsewhere the data is (of necessity) + broadcast regardless. **************************************************************************/ bool update_dumb_city(struct player *pplayer, struct city *pcity) { -- 2.40.1