From feb91ab5ea9c0c19846825f3deb5260a4ecb36a1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 25 Jul 2007 19:06:29 +0000 Subject: (svn r10690) -Codechange: use the enum that describes all callback IDs in favor of "just" using an untyped integer. --- 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 91bfa97fa..a65fb35db 100644 --- a/src/newgrf_industrytiles.h +++ b/src/newgrf_industrytiles.h @@ -14,7 +14,7 @@ enum IndustryAnimationTrigger { }; 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); +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); void AnimateNewIndustryTile(TileIndex tile); -- cgit v1.2.3-54-g00ecf