diff options
author | smatz <smatz@openttd.org> | 2009-05-18 01:26:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-18 01:26:23 +0000 |
commit | 0af27062c4d17148f357c0da1f8b9ce996601463 (patch) | |
tree | 1d4e22ed82a0995464f2789b1fd4c47ea8609e21 /src/train_cmd.cpp | |
parent | d1f9a90d3217709903530e58a641c18d61c96918 (diff) | |
download | openttd-0af27062c4d17148f357c0da1f8b9ce996601463.tar.xz |
(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), introduce shiny new IsPlainRailTile()
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 061f78d34..8c83c1bb8 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -2753,7 +2753,7 @@ static PBSTileInfo ExtendTrainReservation(const Vehicle *v, TrackBits *new_track } /* Station, depot or waypoint are a possible target. */ - bool target_seen = ft.m_is_station || (IsTileType(ft.m_new_tile, MP_RAILWAY) && !IsPlainRailTile(ft.m_new_tile)); + bool target_seen = ft.m_is_station || (IsTileType(ft.m_new_tile, MP_RAILWAY) && !IsPlainRail(ft.m_new_tile)); if (target_seen || KillFirstBit(ft.m_new_td_bits) != TRACKDIR_BIT_NONE) { /* Choice found or possible target encountered. * On finding a possible target, we need to stop and let the pathfinder handle the |