diff options
author | yexo <yexo@openttd.org> | 2009-05-26 22:03:16 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-05-26 22:03:16 +0000 |
commit | aa546e513f6b121377fd1b6cad1b727f89b66528 (patch) | |
tree | cb67c4d33fca4608ec0588e504a70293d1f909ff /src/ai/api | |
parent | 0d56cfabfa6b6553f02a701d3ec3d92cc7067b63 (diff) | |
download | openttd-aa546e513f6b121377fd1b6cad1b727f89b66528.tar.xz |
(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information
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) |