(svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders

This commit is contained in:
rubidium
2010-12-26 13:25:34 +00:00
parent b06b05c360
commit 28f16a732f
4 changed files with 31 additions and 9 deletions

View File

@@ -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 {