From d5f3bf7aedc6d050b7062293f112738fecb077d5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 8 Aug 2020 15:10:44 +0200 Subject: [PATCH] https://bugs.eressea.de/view.php?id=2638 flying units may leave a ship on the ocean. --- src/laws.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laws.c b/src/laws.c index e41c37a3d..0d0a36091 100644 --- a/src/laws.c +++ b/src/laws.c @@ -880,7 +880,7 @@ int leave_cmd(unit * u, struct order *ord) } if (fval(r->terrain, SEA_REGION) && u->ship) { - if (!fval(u_race(u), RCF_SWIM)) { + if (!fval(u_race(u), RCF_SWIM|RCF_FLY)) { cmistake(u, ord, 11, MSG_MOVE); return 0; }