From 4db9d4af410ac8156fadb15b18c4fa075376b82c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 23 Apr 2023 23:30:08 +0300 Subject: [PATCH 46/46] Editor: Call tile_change_side_effects() after tile changes Reported by ihnatus See osdn #46424 Signed-off-by: Marko Lindqvist --- server/edithand.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/edithand.c b/server/edithand.c index e7a87cdf6c..0c305dee6f 100644 --- a/server/edithand.c +++ b/server/edithand.c @@ -241,6 +241,8 @@ static bool edit_tile_terrain_handling(struct tile *ptile, update_tile_knowledge(ptile); } + tile_change_side_effects(ptile, TRUE); + return TRUE; } @@ -282,6 +284,8 @@ static bool edit_tile_extra_handling(struct tile *ptile, update_tile_knowledge(ptile); } + tile_change_side_effects(ptile, TRUE); + return TRUE; } @@ -418,6 +422,8 @@ void handle_edit_tile(struct connection *pc, update_tile_knowledge(ptile); send_tile_info(NULL, ptile, FALSE); } + + tile_change_side_effects(ptile, TRUE); } /************************************************************************//** -- 2.39.2