changeset 6498 | aff910a05c6e |
parent 6338 | 0fb4f452873c |
child 6298 | c30fe89622df |
--- a/src/pathfind.cpp Tue Feb 27 23:12:45 2007 +0000 +++ b/src/pathfind.cpp Tue Feb 27 23:36:28 2007 +0000 @@ -786,7 +786,7 @@ // 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; }