diff options
author | celestar <celestar@openttd.org> | 2006-04-12 13:25:32 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-12 13:25:32 +0000 |
commit | cb001ea14d827f63fd643c17c89ce7a91ce2dbe4 (patch) | |
tree | 53e7fe870644b0543687ff65ae366360f6d8dc78 /rail_cmd.c | |
parent | 093984ea307143c90fb562fc78e89f107f3648a9 (diff) | |
download | openttd-cb001ea14d827f63fd643c17c89ce7a91ce2dbe4.tar.xz |
(svn r4386) -Codechange: Add and make use of IsCustomWaypoint
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 0f8c26406..1c0aee337 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -1308,7 +1308,7 @@ static void DrawTile_Track(TileInfo *ti) if (ti->tileh != 0) DrawFoundation(ti, ti->tileh); - if (IsRailWaypoint(ti->tile) && HASBIT(_m[ti->tile].m3, 4)) { + if (IsRailWaypoint(ti->tile) && IsCustomWaypoint(ti->tile)) { // look for customization byte stat_id = GetWaypointByTile(ti->tile)->stat_id; const StationSpec *stat = GetCustomStation(STAT_CLASS_WAYP, stat_id); |