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

pull/155/head
rubidium 16 years ago
parent 03f9718489
commit 6d04b589d8

@ -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…
Cancel
Save