equal
deleted
inserted
replaced
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 |