mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r4178) -Fix: Draw catenary inside waypoints as well
This commit is contained in:
parent
2b8eaa2e81
commit
3e2edd63c9
2
elrail.c
2
elrail.c
@ -76,6 +76,8 @@ static TrackBits GetRailTrackBitsUniversal(TileIndex t, byte *override)
|
|||||||
switch (GetRailTileType(t)) {
|
switch (GetRailTileType(t)) {
|
||||||
case RAIL_TYPE_NORMAL: case RAIL_TYPE_SIGNALS:
|
case RAIL_TYPE_NORMAL: case RAIL_TYPE_SIGNALS:
|
||||||
return GetTrackBits(t);
|
return GetTrackBits(t);
|
||||||
|
case RAIL_TYPE_DEPOT_WAYPOINT:
|
||||||
|
if (GetRailTileSubtype(t) == RAIL_SUBTYPE_WAYPOINT) return GetRailWaypointBits(t);
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user