diff options
author | yexo <yexo@openttd.org> | 2010-10-28 11:10:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-10-28 11:10:12 +0000 |
commit | 9a07ebc382dcf211dcc6c9673269f578386447a9 (patch) | |
tree | 0bd46ae3f76475e7336cac7a2f03d1c1eb449cc9 /src/newgrf_industrytiles.cpp | |
parent | 05407c9b74b483ba5f7e533d6263d8a6c8e104a5 (diff) | |
download | openttd-9a07ebc382dcf211dcc6c9673269f578386447a9.tar.xz |
(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index db6378702..30ca35c76 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -355,7 +355,7 @@ static void DoTriggerIndustryTile(TileIndex tile, IndustryTileTrigger trigger, I IndustryGfx gfx = GetIndustryGfx(tile); const IndustryTileSpec *itspec = GetIndustryTileSpec(gfx); - if (itspec->grf_prop.spritegroup == NULL) return; + if (itspec->grf_prop.spritegroup[0] == NULL) return; NewIndustryTileResolver(&object, gfx, tile, ind); |