Skip to content
Permalink
Browse files
(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.
  • Loading branch information
frosch123 committed Jul 30, 2012
1 parent f9819c6 commit e07e246532ca7999f59859b12426a00bbd4aae5a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2609,7 +2609,7 @@ static void TileLoop_Track(TileIndex tile)
static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
{
/* Case of half tile slope with water. */
if (mode == TRANSPORT_WATER && IsPlainRail(tile) && GetRailGroundType(tile) == RAIL_GROUND_WATER) {
if (mode == TRANSPORT_WATER && IsPlainRail(tile) && GetRailGroundType(tile) == RAIL_GROUND_WATER && IsSlopeWithOneCornerRaised(GetTileSlope(tile))) {
TrackBits tb = GetTrackBits(tile);
switch (tb) {
default: NOT_REACHED();

0 comments on commit e07e246

Please sign in to comment.