diff options
author | rubidium <rubidium@openttd.org> | 2007-10-02 16:56:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-10-02 16:56:45 +0000 |
commit | 531fe3e07012670f56eaaf59f85a0ad99208c032 (patch) | |
tree | 1d46101c1e0fc0626c63928a6ef4b691f90c32c0 /src/newgrf_industrytiles.h | |
parent | 7979674717cb807d4294eaffccabb5fb08aec9a4 (diff) | |
download | openttd-531fe3e07012670f56eaaf59f85a0ad99208c032.tar.xz |
(svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases).
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r-- | src/newgrf_industrytiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h index a65fb35db..4a7794c62 100644 --- a/src/newgrf_industrytiles.h +++ b/src/newgrf_industrytiles.h @@ -15,7 +15,7 @@ enum IndustryAnimationTrigger { bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds); uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile); -bool PerformIndustryTileSlopeCheck(TileIndex tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx); +bool PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index); void AnimateNewIndustryTile(TileIndex tile); bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random()); |