(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.

This commit is contained in:
frosch 2008-09-11 19:12:31 +00:00
parent c33d779e5a
commit f1a7f57cb9

View File

@ -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);
}