From f92feb2a9516aedcd00961fc8649714249064e4f Mon Sep 17 00:00:00 2001 From: yexo Date: Thu, 11 Jun 2009 14:17:26 +0000 Subject: (svn r16562) -Revert (r16561) --- src/ai/api/ai_marine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api') diff --git a/src/ai/api/ai_marine.cpp b/src/ai/api/ai_marine.cpp index 5b23e78cc..fffa1e3a3 100644 --- a/src/ai/api/ai_marine.cpp +++ b/src/ai/api/ai_marine.cpp @@ -54,7 +54,7 @@ DiagDirection to_other_tile = ::DiagdirBetweenTiles(t1, t2); /* Determine the reachable tracks from the shared edge */ - TrackBits gtts2 = ::TrackStatusToTrackBits(::GetTileTrackStatus(t2, TRANSPORT_WATER, 0, ::ReverseDiagDir(to_other_tile))) & ::DiagdirReachesTracks(to_other_tile); + TrackBits gtts2 = ::TrackStatusToTrackBits(::GetTileTrackStatus(t2, TRANSPORT_WATER, 0, to_other_tile)) & ::DiagdirReachesTracks(to_other_tile); if (gtts2 == TRACK_BIT_NONE) return false; to_other_tile = ReverseDiagDir(to_other_tile); -- cgit v1.2.3-54-g00ecf