From 8d07ff65b9835a8f47477c64eb64def631818ec3 Mon Sep 17 00:00:00 2001 From: Ihnatus Date: Thu, 27 Oct 2022 00:44:59 +0300 Subject: [PATCH] Fix "can't build X now" ignoring city tile See OSDN#45982 Signed-off-by: Ihnatus --- server/cityturn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/cityturn.c b/server/cityturn.c index 726873152e..4fc4f97cba 100644 --- a/server/cityturn.c +++ b/server/cityturn.c @@ -1108,6 +1108,9 @@ static bool worklist_item_postpone_req_vec(struct universal *target, const struct req_context city_ctxt = { .player = pplayer, .city = pcity, + .tile = city_tile(pcity) + /* FIXME: Setting .unittype is currently redundant + * but can_city_build_unit_direct() does it */ }; bool purge = FALSE; bool known = FALSE; -- 2.34.1