From a40d6cd193c4bfa81dc878236a93351433909227 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Wed, 22 Jan 2025 18:08:45 +0100 Subject: [PATCH] Cleanup: remove unused IsValidCargoType --- src/cargo_type.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cargo_type.h b/src/cargo_type.h index 3629995751..4cb3b19f81 100644 --- a/src/cargo_type.h +++ b/src/cargo_type.h @@ -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; }