From e2e633665e5b2602b1899f31caea440d4a2de297 Mon Sep 17 00:00:00 2001 From: celestar Date: Thu, 30 Mar 2006 13:12:36 +0000 Subject: (svn r4178) -Fix: Draw catenary inside waypoints as well --- elrail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/elrail.c b/elrail.c index 6ba081795..720f9dbe0 100644 --- a/elrail.c +++ b/elrail.c @@ -76,6 +76,8 @@ static TrackBits GetRailTrackBitsUniversal(TileIndex t, byte *override) switch (GetRailTileType(t)) { case RAIL_TYPE_NORMAL: case RAIL_TYPE_SIGNALS: return GetTrackBits(t); + case RAIL_TYPE_DEPOT_WAYPOINT: + if (GetRailTileSubtype(t) == RAIL_SUBTYPE_WAYPOINT) return GetRailWaypointBits(t); default: return 0; } -- cgit v1.2.3-70-g09d2