diff options
author | peter1138 <peter1138@openttd.org> | 2006-05-03 20:35:41 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-05-03 20:35:41 +0000 |
commit | 62e6493dd0016ecbc638fd9f2fa4bfef7ac1870d (patch) | |
tree | c9f7992fc600efd538023379e91521d3a9ac21d3 /station_cmd.c | |
parent | 894330c93a7793c6f58bd354d8bb37a9f289d913 (diff) | |
download | openttd-62e6493dd0016ecbc638fd9f2fa4bfef7ac1870d.tar.xz |
(svn r4719) - Newstations: instead of drawing nothing, fall back to the default sprite layout if a station layout specifies so.
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c index 491454573..2d205cddc 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -1996,7 +1996,7 @@ static void DrawTile_Station(TileInfo *ti) } } - if (t == NULL) t = &_station_display_datas[GetStationGfx(ti->tile)]; + if (t == NULL || t->seq == NULL) t = &_station_display_datas[GetStationGfx(ti->tile)]; image = t->ground_sprite; if (image & PALETTE_MODIFIER_COLOR) image |= image_or_modificator; |