diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/road_cmd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 1be419a99..c02706e54 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -1240,7 +1240,10 @@ static void DrawTile_Road(TileInfo *ti) DrawGroundSprite(road, pal); SpriteID rail = GetCustomRailSprite(rti, ti->tile, RTSG_CROSSING) + axis; - DrawGroundSprite(rail, PAL_NONE); + /* Draw tracks, but draw PBS reserved tracks darker. */ + pal = (_game_mode != GM_MENU && _settings_client.gui.show_track_reservation && HasCrossingReservation(ti->tile)) ? PALETTE_CRASH : PAL_NONE; + DrawGroundSprite(rail, pal); + DrawRailTileSeq(ti, &_crossing_layout, TO_CATENARY, rail, 0, PAL_NONE); } else { SpriteID image = rti->base_sprites.crossing; |