From 33e0774624546db17f9ce51df68b644998dca96c Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 15 Feb 2023 17:46:04 +0200 Subject: [PATCH 21/21] city_rally_point_receive(): Fix reversed city legality check See osdn #47361 Signed-off-by: Marko Lindqvist --- common/city.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/city.c b/common/city.c index 933f827ee8..0de4bd8476 100644 --- a/common/city.c +++ b/common/city.c @@ -3539,7 +3539,7 @@ void city_rally_point_receive(const struct packet_city_rally_point *packet, { struct unit_order *checked_orders; - if (NULL != pcity) { + if (NULL == pcity) { /* Probably lost. */ log_verbose("handle_city_rally_point() bad city number %d.", packet->id); -- 2.39.1