src/newgrf_industrytiles.cpp
changeset 9028 f60408bc972b
parent 9018 403898e0b54e
child 9111 48ce04029fe4
--- a/src/newgrf_industrytiles.cpp	Tue Apr 22 23:16:36 2008 +0000
+++ b/src/newgrf_industrytiles.cpp	Wed Apr 23 00:14:49 2008 +0000
@@ -417,6 +417,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;