summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elrail.c2
1 files changed, 2 insertions, 0 deletions
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;
}