summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rail_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_map.h b/rail_map.h
index 539b31d64..850a56c54 100644
--- a/rail_map.h
+++ b/rail_map.h
@@ -124,7 +124,7 @@ static inline DiagDirection GetRailDepotDirection(TileIndex t)
return (DiagDirection)GB(_m[t].m5, 0, 2);
}
-static inline TrackBits GetRailWaypointTrack(TileIndex t)
+static inline Track GetRailWaypointTrack(TileIndex t)
{
return HASBIT(_m[t].m5, 0) ? TRACK_Y : TRACK_X;
}