diff options
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 6dc6d36a6..dd852bb1f 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -1289,9 +1289,6 @@ static void DrawTrackBits(TileInfo* ti, TrackBits track) if (track & TRACK_BIT_LEFT) DrawGroundSprite(rti->base_sprites.single_w, PAL_NONE); if (track & TRACK_BIT_RIGHT) DrawGroundSprite(rti->base_sprites.single_e, PAL_NONE); } - - if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti); - } static void DrawSignals(TileIndex tile, TrackBits rails) @@ -1340,6 +1337,8 @@ static void DrawTile_Track(TileInfo *ti) if (HASBIT(_display_opt, DO_FULL_DETAIL)) DrawTrackDetails(ti); + if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti); + if (HasSignals(ti->tile)) DrawSignals(ti->tile, rails); } else { /* draw depot/waypoint */ |