diff options
author | frosch <frosch@openttd.org> | 2012-07-30 19:38:17 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-07-30 19:38:17 +0000 |
commit | e07e246532ca7999f59859b12426a00bbd4aae5a (patch) | |
tree | 37c277a78a19ab871764c0ce1395b33acf3f1c12 | |
parent | f9819c66459e9aededd805c075f1b37da73bac6f (diff) | |
download | openttd-e07e246532ca7999f59859b12426a00bbd4aae5a.tar.xz |
(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 397173a3a..90fe364e2 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2609,7 +2609,7 @@ set_ground: 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(); |