diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -221,7 +221,7 @@ uint16 GetIndustryTileCallback(CallbackI object.callback_param1 = param1; object.callback_param2 = param2; - group = Resolve(GetIndustryTileSpec(gfx_id)->grf_prop.spritegroup, &object); + group = SpriteGroup::Resolve(GetIndustryTileSpec(gfx_id)->grf_prop.spritegroup, &object); if (group == NULL || group->type != SGT_CALLBACK) return CALLBACK_FAILED; return group->GetCallbackResult(); @@ -245,7 +245,7 @@ bool DrawNewIndustryTile(TileInfo *ti, I NewIndustryTileResolver(&object, gfx, ti->tile, i); - group = Resolve(inds->grf_prop.spritegroup, &object); + group = SpriteGroup::Resolve(inds->grf_prop.spritegroup, &object); if (group == NULL || group->type != SGT_TILELAYOUT) { return false; } else { @@ -416,7 +416,7 @@ static void DoTriggerIndustryTile(TileIn object.callback = CBID_RANDOM_TRIGGER; object.trigger = trigger; - const SpriteGroup *group = Resolve(itspec->grf_prop.spritegroup, &object); + const SpriteGroup *group = SpriteGroup::Resolve(itspec->grf_prop.spritegroup, &object); if (group == NULL) return; byte new_random_bits = Random();