From 09eb6623ab6d8750dc08111ecbd3e20fc1bfc06b Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 9 Jul 2007 20:08:25 +0000 Subject: (svn r10494) -Fix (r10490): possible null dereference in some exotic newgrfs. --- src/newgrf_industrytiles.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_industrytiles.h') 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 */ -- cgit v1.2.3-54-g00ecf