diff options
author | frosch <frosch@openttd.org> | 2008-09-11 19:12:31 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-09-11 19:12:31 +0000 |
commit | f1a7f57cb9c7007697fcbaaf83c07b5ef760ac74 (patch) | |
tree | 897a8ade8ee394495ed4aafdada7b3690e187ecd | |
parent | c33d779e5a4d70e3b7ed924db2f8e96f529e80ed (diff) | |
download | openttd-f1a7f57cb9c7007697fcbaaf83c07b5ef760ac74.tar.xz |
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |