From 68b409e1e7910f20969ed184a5ec0dcd5a86f0f2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 24 Sep 2020 20:11:45 +0200 Subject: [PATCH] ships on a ROUTE can drift. --- src/move.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/move.c b/src/move.c index a9f0095bf..e9bbea9a0 100644 --- a/src/move.c +++ b/src/move.c @@ -2192,8 +2192,8 @@ void move_cmd_ex(unit * u, order * ord, const char *directions) init_order(ord, u->faction->locale); } if (u->ship && u == ship_owner(u->ship)) { - bool drifting = (getkeyword(ord) == K_MOVE); - sail(u, ord, drifting); + keyword_t kwd = getkeyword(ord); + sail(u, ord, (kwd == K_MOVE || kwd == K_ROUTE)); } else { travel(u, ord);