diff options
Diffstat (limited to 'src/ai/api')
-rw-r--r-- | src/ai/api/ai_rail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_rail.cpp b/src/ai/api/ai_rail.cpp index 6914f99c1..72905ff5b 100644 --- a/src/ai/api/ai_rail.cpp +++ b/src/ai/api/ai_rail.cpp @@ -110,7 +110,7 @@ { if (!IsRailStationTile(tile)) return RAILTRACK_INVALID; - return (RailTrack)::GetRailStationTrack(tile); + return (RailTrack)::GetRailStationTrackBits(tile); } /* static */ bool AIRail::BuildRailDepot(TileIndex tile, TileIndex front) |