(svn r24840) -Fix: Draw NewGRF railtypes in NewGRF station previews.

This commit is contained in:
peter1138
2012-12-23 15:38:54 +00:00
parent bac2b4c25d
commit 9eadd83372
3 changed files with 14 additions and 5 deletions

View File

@@ -2559,7 +2559,7 @@ const DrawTileSprites *GetStationTileLayout(StationType st, byte gfx)
* @param [out] overlay_offset Overlay to draw.
* @return true if overlay can be drawn.
*/
static bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, RailTrackOffset *overlay_offset)
bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, RailTrackOffset *overlay_offset)
{
bool snow_desert;
switch (*ground) {