branch | 0.6 |
changeset 10323 | 57d8fd25473e |
parent 9182 | 3c6eb660d4e5 |
child 10325 | 7065f9963266 |
--- a/src/newgrf_industrytiles.cpp Mon Mar 31 22:09:27 2008 +0000 +++ b/src/newgrf_industrytiles.cpp Thu Apr 24 11:48:09 2008 +0000 @@ -403,6 +403,8 @@ 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;