1
0
Fork 0

Cleanup: remove unused IsValidCargoType

pull/13357/head
Rubidium 2025-01-22 18:08:45 +01:00 committed by rubidium42
parent b91685e4b6
commit a40d6cd193
1 changed files with 0 additions and 2 deletions

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; }