summaryrefslogtreecommitdiff
path: root/src/cargotype.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-04-13 19:32:18 +0000
committerpeter1138 <peter1138@openttd.org>2007-04-13 19:32:18 +0000
commit59399480b3af919eea479b1dd3e2ee69dcd0bc5a (patch)
tree78427100f591828f22b4bf1543e50769733875e1 /src/cargotype.h
parent39735f7b549d256e32b64ab837d15aaba6a82885 (diff)
downloadopenttd-59399480b3af919eea479b1dd3e2ee69dcd0bc5a.tar.xz
(svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65
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)
{