(svn r4178) -Fix: Draw catenary inside waypoints as well

This commit is contained in:
celestar 2006-03-30 13:12:36 +00:00
parent 2b8eaa2e81
commit 3e2edd63c9

View File

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