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 | 3e2edd63c9e753a2fa8145dd360f34bc95ee9cf0 (patch) | |
tree | dcb6b4872629a67b00a32448a58c861737b92435 | |
parent | 2b8eaa2e81257ae2357ff881df22029f396ce620 (diff) | |
download | openttd-3e2edd63c9e753a2fa8145dd360f34bc95ee9cf0.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; } |