src/newgrf_industrytiles.cpp
branch0.6
changeset 10323 57d8fd25473e
parent 9182 3c6eb660d4e5
child 10325 7065f9963266
equal deleted inserted replaced
9357:bafe57f3402a 10323:57d8fd25473e
   401 	ResolverObject object;
   401 	ResolverObject object;
   402 
   402 
   403 	IndustryGfx gfx = GetIndustryGfx(tile);
   403 	IndustryGfx gfx = GetIndustryGfx(tile);
   404 	const IndustryTileSpec *itspec = GetIndustryTileSpec(gfx);
   404 	const IndustryTileSpec *itspec = GetIndustryTileSpec(gfx);
   405 
   405 
       
   406 	if (itspec->grf_prop.spritegroup == NULL) return;
       
   407 
   406 	NewIndustryTileResolver(&object, gfx, tile, ind);
   408 	NewIndustryTileResolver(&object, gfx, tile, ind);
   407 
   409 
   408 	object.callback = CBID_RANDOM_TRIGGER;
   410 	object.callback = CBID_RANDOM_TRIGGER;
   409 	object.trigger = trigger;
   411 	object.trigger = trigger;
   410 
   412