diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index a6c4929617..8e84c01658 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -368,8 +368,6 @@ static void CommonRaiseLowerBigLand(TileIndex tile, int mode) DoCommandP(tile, SLOPE_N, (uint32)mode, CcTerraform, CMD_TERRAFORM_LAND | CMD_MSG(msg)); } else { - SndPlayTileFx(SND_1F_SPLAT, tile); - assert(_terraform_size != 0); /* check out for map overflows */ sizex = min(MapSizeX() - TileX(tile) - 1, _terraform_size); @@ -377,6 +375,8 @@ static void CommonRaiseLowerBigLand(TileIndex tile, int mode) if (sizex == 0 || sizey == 0) return; + SndPlayTileFx(SND_1F_SPLAT, tile); + if (mode != 0) { /* Raise land */ h = 15; // XXX - max height