diff options
author | rubidium <rubidium@openttd.org> | 2010-12-26 13:25:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-26 13:25:34 +0000 |
commit | 28f16a732fbcc759c9cceef7c9a160486b37f896 (patch) | |
tree | 59bdebd2d20b864446cb218e1bdac6742cfbf332 /src/vehicle_gui.cpp | |
parent | b06b05c360830efe5a689a9340b1d327f5d45189 (diff) | |
download | openttd-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.cpp | 2 |
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 { |