(svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders
This commit is contained in:
@@ -548,6 +548,12 @@ public:
|
||||
*/
|
||||
inline VehicleOrderID GetNumOrders() const { return (this->orders.list == NULL) ? 0 : this->orders.list->GetNumOrders(); }
|
||||
|
||||
/**
|
||||
* Get the number of manually added orders this vehicle has.
|
||||
* @return the number of manually added orders this vehicle has.
|
||||
*/
|
||||
inline VehicleOrderID GetNumManualOrders() const { return (this->orders.list == NULL) ? 0 : this->orders.list->GetNumManualOrders(); }
|
||||
|
||||
/**
|
||||
* Copy certain configurations and statistics of a vehicle after successful autoreplace/renew
|
||||
* The function shall copy everything that cannot be copied by a command (like orders / group etc),
|
||||
|
Reference in New Issue
Block a user