mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-06 03:20:28 +00:00
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
This commit is contained in:
parent
c33d779e5a
commit
f1a7f57cb9
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user