forked from github/server
ships on a ROUTE can drift.
This commit is contained in:
parent
d7d3b5d730
commit
65c05f37d2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue