(svn r4719) - Newstations: instead of drawing nothing, fall back to the default sprite layout if a station layout specifies so.

This commit is contained in:
peter1138
2006-05-03 20:35:41 +00:00
parent 6b01384faf
commit 76411cef63
3 changed files with 22 additions and 27 deletions

View File

@@ -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;