forked from github/server
ships on a ROUTE can drift.
This commit is contained in:
parent
d7d3b5d730
commit
65c05f37d2
1 changed files with 2 additions and 2 deletions
|
@ -2192,8 +2192,8 @@ void move_cmd_ex(unit * u, order * ord, const char *directions)
|
||||||
init_order(ord, u->faction->locale);
|
init_order(ord, u->faction->locale);
|
||||||
}
|
}
|
||||||
if (u->ship && u == ship_owner(u->ship)) {
|
if (u->ship && u == ship_owner(u->ship)) {
|
||||||
bool drifting = (getkeyword(ord) == K_MOVE);
|
keyword_t kwd = getkeyword(ord);
|
||||||
sail(u, ord, drifting);
|
sail(u, ord, (kwd == K_MOVE || kwd == K_ROUTE));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
travel(u, ord);
|
travel(u, ord);
|
||||||
|
|
Loading…
Reference in a new issue