diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/landscape.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/landscape.cpp b/src/landscape.cpp index c59d4a17c..1e38ce694 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -658,11 +658,23 @@ void ConvertGroundTilesIntoWaterTiles() case SLOPE_E: case SLOPE_S: case SLOPE_W: + MakeShore(tile); + break; + case SLOPE_NW: + if (GetTileSlope(TileAddByDiagDir(tile, DIAGDIR_SE), NULL) != SLOPE_SE) MakeShore(tile); + break; + case SLOPE_SW: + if (GetTileSlope(TileAddByDiagDir(tile, DIAGDIR_NE), NULL) != SLOPE_NE) MakeShore(tile); + break; + case SLOPE_SE: + if (GetTileSlope(TileAddByDiagDir(tile, DIAGDIR_NW), NULL) != SLOPE_NW) MakeShore(tile); + break; + case SLOPE_NE: - MakeShore(tile); + if (GetTileSlope(TileAddByDiagDir(tile, DIAGDIR_SW), NULL) != SLOPE_SW) MakeShore(tile); break; default: |