diff options
author | glx <glx@openttd.org> | 2007-10-13 02:23:11 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-10-13 02:23:11 +0000 |
commit | 73fcdf77e0865025d563a5c9eed6e8c91655ab6c (patch) | |
tree | bf1a8fa343d89f308517e78ca707b1847cda4ffe /src/newgrf_cargo.h | |
parent | a8936b771b8f17e64cfebcd0152b8d467f100932 (diff) | |
download | openttd-73fcdf77e0865025d563a5c9eed6e8c91655ab6c.tar.xz |
(svn r11252) -Revert r11239, Fix r9620: cargo translation was not done correctly
Diffstat (limited to 'src/newgrf_cargo.h')
-rw-r--r-- | src/newgrf_cargo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_cargo.h b/src/newgrf_cargo.h index 0c6e41af4..25cc59e14 100644 --- a/src/newgrf_cargo.h +++ b/src/newgrf_cargo.h @@ -29,7 +29,7 @@ struct GRFFile; SpriteID GetCustomCargoSprite(const CargoSpec *cs); uint16 GetCargoCallback(CallbackID callback, uint32 param1, uint32 param2, const CargoSpec *cs); -CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile); +CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile, bool usebit = false); uint8 GetReverseCargoTranslation(CargoID cargo, const GRFFile *grffile); #endif /* NEWGRF_CARGO_H */ |