summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-09 20:08:25 +0000
committerrubidium <rubidium@openttd.org>2007-07-09 20:08:25 +0000
commite84363b4db136be876606450ea35d4186fe0eae6 (patch)
tree12fc144dcff919b030af8acc977d785bd29ebf48 /src/newgrf_industrytiles.h
parent7cb7488836eb11b8da5ec9481b4bd32156716793 (diff)
downloadopenttd-e84363b4db136be876606450ea35d4186fe0eae6.tar.xz
(svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs.
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r--src/newgrf_industrytiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h
index 9495aa202..16321217b 100644
--- a/src/newgrf_industrytiles.h
+++ b/src/newgrf_industrytiles.h
@@ -7,6 +7,6 @@
bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
uint16 GetIndustryTileCallback(uint16 callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
-bool PerformIndustryTileSlopeCheck(TileIndex tile, const IndustryTileSpec *its, IndustryGfx gfx);
+bool PerformIndustryTileSlopeCheck(TileIndex tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx);
#endif /* NEWGRF_INDUSTRYTILES_H */