diff options
author | rubidium <rubidium@openttd.org> | 2010-04-05 21:01:02 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-04-05 21:01:02 +0000 |
commit | bc925c0016e98f09d2fcef582d68ab8e59060d73 (patch) | |
tree | 31ba11dafb1c6cc04165b7fcd3e5984a4fbcd2be /src/newgrf_industrytiles.cpp | |
parent | cf981c540129dcabd44104f95d6751c029ddc02f (diff) | |
download | openttd-bc925c0016e98f09d2fcef582d68ab8e59060d73.tar.xz |
(svn r19565) -Fix: some NewGRF callbacks were named incorrectly
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index 26905c004..bc07ed72a 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -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); } |