summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-26 13:25:34 +0000
committerrubidium <rubidium@openttd.org>2010-12-26 13:25:34 +0000
commit28f16a732fbcc759c9cceef7c9a160486b37f896 (patch)
tree59bdebd2d20b864446cb218e1bdac6742cfbf332 /src/vehicle_gui.cpp
parentb06b05c360830efe5a689a9340b1d327f5d45189 (diff)
downloadopenttd-28f16a732fbcc759c9cceef7c9a160486b37f896.tar.xz
(svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index 2d1e15694..35143e8fc 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -2447,7 +2447,7 @@ public:
/* FALL THROUGH, if aircraft. Does this even happen? */
default:
- if (v->GetNumOrders() == 0) {
+ if (v->GetNumManualOrders() == 0) {
str = STR_VEHICLE_STATUS_NO_ORDERS + _settings_client.gui.vehicle_speed;
SetDParam(0, v->GetDisplaySpeed());
} else {