summaryrefslogtreecommitdiff
path: root/src/newgrf_airporttiles.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-10-28 11:10:12 +0000
committeryexo <yexo@openttd.org>2010-10-28 11:10:12 +0000
commit9a07ebc382dcf211dcc6c9673269f578386447a9 (patch)
tree0bd46ae3f76475e7336cac7a2f03d1c1eb449cc9 /src/newgrf_airporttiles.cpp
parent05407c9b74b483ba5f7e533d6263d8a6c8e104a5 (diff)
downloadopenttd-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_airporttiles.cpp')
-rw-r--r--src/newgrf_airporttiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_airporttiles.cpp b/src/newgrf_airporttiles.cpp
index 02500a0fd..7b6d1745e 100644
--- a/src/newgrf_airporttiles.cpp
+++ b/src/newgrf_airporttiles.cpp
@@ -155,7 +155,7 @@ static uint32 GetAirportTileIDAtOffset(TileIndex tile, const Station *st, uint32
}
}
/* Not an 'old type' tile */
- if (ats->grf_prop.spritegroup != NULL) { // tile has a spritegroup ?
+ if (ats->grf_prop.spritegroup[0] != NULL) { // tile has a spritegroup ?
if (ats->grf_prop.grffile->grfid == cur_grfid) { // same airport, same grf ?
return ats->grf_prop.local_id;
} else {