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 | 76411cef63faacc4428213e828b11f1f6abd1d9e (patch) | |
tree | c9f7992fc600efd538023379e91521d3a9ac21d3 /station_cmd.c | |
parent | 6b01384faf48c19968ed1ccef1d3f4f487908794 (diff) | |
download | openttd-76411cef63faacc4428213e828b11f1f6abd1d9e.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; |