mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-21 06:34:23 +00:00
(svn r12681) -Fix [FS#1921]: aircraft stopping mid-air.
This commit is contained in:
parent
604c5bbfb7
commit
9349767e1d
@ -1644,7 +1644,7 @@ bool ProcessOrders(Vehicle *v)
|
||||
}
|
||||
|
||||
/* If it is unchanged, keep it. */
|
||||
if (order->Equals(v->current_order) && v->dest_tile != 0 &&
|
||||
if (order->Equals(v->current_order) && (v->type == VEH_AIRCRAFT || v->dest_tile != 0) &&
|
||||
(v->type != VEH_SHIP || !order->IsType(OT_GOTO_STATION) || GetStation(order->GetDestination())->dock_tile != 0)) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user