Changeset - r10107:bcbf746656f1
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-09-11 19:12:31
frosch@openttd.org
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -926,8 +926,12 @@ static void DrawTile_TunnelBridge(TileIn
 
				}
 
			}
 
		} 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);
 
		}
 

	
0 comments (0 inline, 0 general)