File diff r9027:9d5ade13b1f3 → r9028:43b29ac0a74d
src/newgrf_industrytiles.cpp
Show inline comments
 
@@ -414,12 +414,14 @@ static void DoTriggerIndustryTile(TileIn
 
{
 
	ResolverObject object;
 

	
 
	IndustryGfx gfx = GetIndustryGfx(tile);
 
	const IndustryTileSpec *itspec = GetIndustryTileSpec(gfx);
 

	
 
	if (itspec->grf_prop.spritegroup == NULL) return;
 

	
 
	NewIndustryTileResolver(&object, gfx, tile, ind);
 

	
 
	object.callback = CBID_RANDOM_TRIGGER;
 
	object.trigger = trigger;
 

	
 
	const SpriteGroup *group = Resolve(itspec->grf_prop.spritegroup, &object);