summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cargotype.h')
-rw-r--r--src/cargotype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cargotype.h b/src/cargotype.h
index d74811c9a..347f09427 100644
--- a/src/cargotype.h
+++ b/src/cargotype.h
@@ -58,6 +58,7 @@ void SetupCargoForClimate(LandscapeID l);
const CargoSpec *GetCargo(CargoID c);
/* Get the cargo ID with the cargo label */
CargoID GetCargoIDByLabel(CargoLabel cl);
+CargoID GetCargoIDByBitnum(uint8 bitnum);
static inline bool IsCargoInClass(CargoID c, uint16 cc)
{