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 | ac9f287f205d561dd863649abe67f9b2b764ffc2 (patch) | |
tree | bf1a8fa343d89f308517e78ca707b1847cda4ffe /src/newgrf_cargo.h | |
parent | 63f54c43b3ec8ad83c7b9e0303139e3b100100bf (diff) | |
download | openttd-ac9f287f205d561dd863649abe67f9b2b764ffc2.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 */ |