|
OpenTTD Source 20251104-master-g3befbdd52f
|
Action to check if a vehicle has no stored cargo. More...
Public Member Functions | |
| bool | operator() (const Vehicle *v) |
| Checks if the vehicle has stored cargo. | |
Action to check if a vehicle has no stored cargo.
Definition at line 1360 of file economy.cpp.
|
inline |
Checks if the vehicle has stored cargo.
| v | Vehicle to be checked. |
Definition at line 1367 of file economy.cpp.
References Vehicle::cargo, and VehicleCargoList::StoredCount().