(svn r12681) -Fix [FS#1921]: aircraft stopping mid-air.

This commit is contained in:
rubidium 2008-04-13 10:26:39 +00:00
parent 604c5bbfb7
commit 9349767e1d

View File

@ -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;
}