From 739cef7a0c10ee6b6e93d611e26b83d4ad4af526 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 1 Jul 2023 10:45:01 +0300 Subject: [PATCH 18/18] 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/citytools.c b/server/citytools.c index 3557fe376d..5e625fb110 100644 --- a/server/citytools.c +++ b/server/citytools.c @@ -2722,12 +2722,12 @@ 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 + 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) + 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