diff options
author | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-05-09 08:17:33 +0000 |
commit | 9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45 (patch) | |
tree | 975779e5070a23a2c674c5848eaf2fef8b8d766a /newgrf_station.c | |
parent | a0e387597ac53c810a24a01521aa3e802964e8d5 (diff) | |
download | openttd-9b1bbf72ee7ebb545ba7dc0ea11a84fc18b11c45.tar.xz |
(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
Diffstat (limited to 'newgrf_station.c')
-rw-r--r-- | newgrf_station.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_station.c b/newgrf_station.c index 77e2a9c55..1f438101b 100644 --- a/newgrf_station.c +++ b/newgrf_station.c @@ -253,7 +253,7 @@ static TileIndex FindRailStationEnd(TileIndex tile, TileIndexDiff delta, bool ch if (waypoint) { if (!IsTileType(new_tile, MP_RAILWAY)) break; - if (GetRailTileType(new_tile) != RAIL_TYPE_DEPOT_WAYPOINT) break; + if (GetRailTileType(new_tile) != RAIL_TILE_DEPOT_WAYPOINT) break; if (GetRailTileSubtype(new_tile) != RAIL_SUBTYPE_WAYPOINT) break; if (check_axis && GetWaypointAxis(new_tile) != orig_axis) break; } else { |