Cleanup: remove unused IsValidCargoType

This commit is contained in:
Rubidium
2025-01-22 18:08:45 +01:00
committed by rubidium42
parent b91685e4b6
commit a40d6cd193

View File

@@ -101,8 +101,6 @@ namespace CargoFilterCriteria {
static constexpr CargoID CF_EXPAND_LIST = NUM_CARGO + 6; ///< Expand list to show all items (station list)
};
/** Test whether cargo type is not CT_INVALID */
inline bool IsValidCargoType(CargoLabel t) { return t != CT_INVALID; }
/** Test whether cargo type is not INVALID_CARGO */
inline bool IsValidCargoID(CargoID t) { return t != INVALID_CARGO; }