changeset 6460 | 705fbddbf3dc |
parent 6365 | b52bd4ca10b6 |
child 7276 | 16061f14665c |
--- a/src/cargotype.h Fri Apr 13 17:15:06 2007 +0000 +++ b/src/cargotype.h Fri Apr 13 19:32:18 2007 +0000 @@ -58,6 +58,7 @@ 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) {