(svn r19565) -Fix: some NewGRF callbacks were named incorrectly

This commit is contained in:
rubidium
2010-04-05 21:01:02 +00:00
parent cf981c5401
commit bc925c0016
3 changed files with 5 additions and 5 deletions

View File

@@ -214,7 +214,7 @@ bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const Indus
bool draw_old_one = true;
if (HasBit(inds->callback_mask, CBM_INDT_DRAW_FOUNDATIONS)) {
/* Called to determine the type (if any) of foundation to draw for industry tile */
uint32 callback_res = GetIndustryTileCallback(CBID_INDUSTRY_DRAW_FOUNDATIONS, 0, 0, gfx, i, ti->tile);
uint32 callback_res = GetIndustryTileCallback(CBID_INDTILE_DRAW_FOUNDATIONS, 0, 0, gfx, i, ti->tile);
draw_old_one = (callback_res != 0);
}