diff options
author | rubidium <rubidium@openttd.org> | 2007-02-27 23:36:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-27 23:36:28 +0000 |
commit | 490811535584e73888fe8177b385b29d08d46daa (patch) | |
tree | 201d8919a041bd0eb12b24c8ba055c4d47310c76 /src/pathfind.cpp | |
parent | fbd6a88d02035fad651a342f74221dc152342451 (diff) | |
download | openttd-490811535584e73888fe8177b385b29d08d46daa.tar.xz |
(svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r-- | src/pathfind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp index c5e88e541..431acd317 100644 --- a/src/pathfind.cpp +++ b/src/pathfind.cpp @@ -786,7 +786,7 @@ start_at: // Check that the tile contains exactly one track if (bits == 0 || KILL_FIRST_BIT(bits) != 0) break; - if (!HASBIT(tpf->railtypes, IsTileType(tile, MP_STREET) ? GetRailTypeCrossing(tile) : GetRailType(tile))) { + if (!HASBIT(tpf->railtypes, GetRailType(tile))) { bits = TRACK_BIT_NONE; break; } |