diff options
author | rubidium <rubidium@openttd.org> | 2008-04-13 10:26:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-13 10:26:39 +0000 |
commit | 6d04b589d88431250aee37b595b0bf5d54a00126 (patch) | |
tree | f04c5b14e79b2ef972cf7d4c20753267c221afd1 /src | |
parent | 03f9718489b7441ae6fe058c8ed5c686f247373c (diff) | |
download | openttd-6d04b589d88431250aee37b595b0bf5d54a00126.tar.xz |
(svn r12681) -Fix [FS#1921]: aircraft stopping mid-air.
Diffstat (limited to 'src')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 367ca290a..64e235ce6 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -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; } |