mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-05 13:57:01 +00:00
(svn r14291) -Fix [FS#2288] (r12853): For tunnels DrawCatenary() draws only pillars; DrawCatenaryOnTunnel() draws only wires.
This commit is contained in:
parent
ef03a41631
commit
33c2b798fb
@ -926,8 +926,12 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (HasCatenaryDrawn(GetRailType(ti->tile))) {
|
} else if (HasCatenaryDrawn(GetRailType(ti->tile))) {
|
||||||
|
/* Maybe draw pylons on the entry side */
|
||||||
|
DrawCatenary(ti);
|
||||||
|
|
||||||
catenary = true;
|
catenary = true;
|
||||||
StartSpriteCombine();
|
StartSpriteCombine();
|
||||||
|
/* Draw wire above the ramp */
|
||||||
DrawCatenaryOnTunnel(ti);
|
DrawCatenaryOnTunnel(ti);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user