diff options
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; } |