# HG changeset patch # User frosch # Date 2010-08-08 08:52:47 # Node ID e5f7c85a59827ace3ff0b693aa8126418e8f7304 # Parent 99440cf75a725f40605a17d325b0015d3b93a605 (svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays. diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1998,7 +1998,7 @@ static void DrawTrackBitsOverlay(TileInf } DrawTrackSprite(ground + offset, PAL_NONE, ti, fake_slope); - if (HasReservedTracks(ti->tile, track)) { + if (_settings_client.gui.show_track_reservation && HasReservedTracks(ti->tile, track)) { DrawTrackSprite(overlay + offset, PALETTE_CRASH, ti, fake_slope); } }