src/yapf/follow_track.hpp
changeset 8563 13b1a41e46f1
parent 8491 97fcf662c3c3
child 8616 fd862a55c47f
--- a/src/yapf/follow_track.hpp	Thu Feb 14 15:13:36 2008 +0000
+++ b/src/yapf/follow_track.hpp	Thu Feb 14 15:59:16 2008 +0000
@@ -44,7 +44,7 @@
 	/** Tests if a tile is a road tile with a single tramtrack (tram can reverse) */
 	FORCEINLINE DiagDirection GetSingleTramBit(TileIndex tile)
 	{
-		if (IsTram() && IsTileType(tile, MP_ROAD) && GetRoadTileType(tile) == ROAD_TILE_NORMAL) {
+		if (IsTram() && IsNormalRoadTile(tile)) {
 			RoadBits rb = GetRoadBits(tile, ROADTYPE_TRAM);
 			switch (rb) {
 				case ROAD_NW: return DIAGDIR_NW;