From c7f86a06c1b8c3c544481d55b1c0c22e44c65a84 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 18 Sep 2022 06:59:36 +0300 Subject: [PATCH 34/34] dai_manage_diplomat(): Fix dead pcity assignment See osdn #45663 Signed-off-by: Marko Lindqvist --- ai/default/aidiplomat.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ai/default/aidiplomat.c b/ai/default/aidiplomat.c index e8a4361799..224b2a8d2a 100644 --- a/ai/default/aidiplomat.c +++ b/ai/default/aidiplomat.c @@ -733,8 +733,6 @@ void dai_manage_diplomat(struct ai_type *ait, struct player *pplayer, parameter.get_TB = no_intermediate_fights; pfm = pf_map_new(¶meter); - pcity = tile_city(unit_tile(punit)); - /* Look for someone to bribe */ if (!dai_diplomat_bribe_nearby(ait, pplayer, punit, pfm)) { /* Died or ran out of moves */ -- 2.35.1