From 28f16a732fbcc759c9cceef7c9a160486b37f896 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 26 Dec 2010 13:25:34 +0000 Subject: (svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders --- src/vehicle_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_gui.cpp') 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 { -- cgit v1.2.3-70-g09d2