From 65ba2505a771924f4197ca3956fe501eb82ca07d Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 1 Jan 2005 17:39:22 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=337 NACH nach verlassen eines Schiffes, trotz BEWACHE --- src/common/kernel/movement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/movement.c b/src/common/kernel/movement.c index 732266d42..3f5a25aae 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -1850,7 +1850,7 @@ travel(unit * u, region_list ** routep) /* a few pre-checks that need not be done for each step: */ if (rterrain(r)!=T_OCEAN) { /* An Land kein NACH wenn in dieser Runde Schiff VERLASSEN! */ - if (leftship(u) && is_guarded(r, u, GUARD_LANDING)) { + if ((u->ship || leftship(u)) && is_guarded(r, u, GUARD_LANDING)) { cmistake(u, u->thisorder, 70, MSG_MOVE); return; }