changeset 9059 | 04edde3eb0c6 |
parent 9006 | f68ac871be5c |
child 9112 | ec6800eaa340 |
--- a/src/npf.cpp Thu Feb 14 15:13:36 2008 +0000 +++ b/src/npf.cpp Thu Feb 14 15:59:16 2008 +0000 @@ -512,7 +512,7 @@ /** Tests if a tile is a road tile with a single tramtrack (tram can reverse) */ static DiagDirection GetSingleTramBit(TileIndex tile) { - if (IsTileType(tile, MP_ROAD) && GetRoadTileType(tile) == ROAD_TILE_NORMAL) { + if (IsNormalRoadTile(tile)) { RoadBits rb = GetRoadBits(tile, ROADTYPE_TRAM); switch (rb) { case ROAD_NW: return DIAGDIR_NW;