--- 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;