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 | 33c2b798fb2a077a716a213be5355a09f7c15ade (patch) | |
tree | 897a8ade8ee394495ed4aafdada7b3690e187ecd | |
parent | ef03a416310d78524d3597b28b20f636a31e87ad (diff) | |
download | openttd-33c2b798fb2a077a716a213be5355a09f7c15ade.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); } |