From 88a9006538f4c9a536227027f04558c6d437f9e7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 21 Sep 2021 23:55:50 +0300 Subject: [PATCH 32/32] Allow moving CoastStrict unit to ocean city, or city in 1x1 island Reported by lexxie9952 See osdn #42600 Signed-off-by: Marko Lindqvist --- common/movement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/movement.c b/common/movement.c index 8aa5f54f5e..b1bbf74e03 100644 --- a/common/movement.c +++ b/common/movement.c @@ -691,7 +691,7 @@ unit_move_to_tile_test(const struct civ_map *nmap, /* 11) */ if (utype_has_flag(punittype, UTYF_COAST_STRICT) - && !is_safe_ocean(&(wld.map), dst_tile)) { + && !pcity && !is_safe_ocean(&(wld.map), dst_tile)) { return MR_TRIREME; } -- 2.33.0