diff options
author | celestar <celestar@openttd.org> | 2006-03-30 13:12:36 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-03-30 13:12:36 +0000 |
commit | e2e633665e5b2602b1899f31caea440d4a2de297 (patch) | |
tree | dcb6b4872629a67b00a32448a58c861737b92435 | |
parent | 79d594313e1b183aead3c22c98d724d533d73060 (diff) | |
download | openttd-e2e633665e5b2602b1899f31caea440d4a2de297.tar.xz |
(svn r4178) -Fix: Draw catenary inside waypoints as well
-rw-r--r-- | elrail.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |