mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-18 03:59:09 +00:00
(svn r24449) -Fix [FS#5254]: Coast and sea are not the same.
This commit is contained in:
@@ -2609,7 +2609,7 @@ set_ground:
|
|||||||
static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
|
static TrackStatus GetTileTrackStatus_Track(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
|
||||||
{
|
{
|
||||||
/* Case of half tile slope with water. */
|
/* 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);
|
TrackBits tb = GetTrackBits(tile);
|
||||||
switch (tb) {
|
switch (tb) {
|
||||||
default: NOT_REACHED();
|
default: NOT_REACHED();
|
||||||
|
Reference in New Issue
Block a user