From f1a7f57cb9c7007697fcbaaf83c07b5ef760ac74 Mon Sep 17 00:00:00 2001 From: frosch Date: Thu, 11 Sep 2008 19:12:31 +0000 Subject: (svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires. --- src/tunnelbridge_cmd.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 95bb68d7c..1115003f3 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -926,8 +926,12 @@ static void DrawTile_TunnelBridge(TileInfo *ti) } } } else if (HasCatenaryDrawn(GetRailType(ti->tile))) { + /* Maybe draw pylons on the entry side */ + DrawCatenary(ti); + catenary = true; StartSpriteCombine(); + /* Draw wire above the ramp */ DrawCatenaryOnTunnel(ti); } -- cgit v1.2.3-70-g09d2