summaryrefslogtreecommitdiff
path: root/terraform_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'terraform_gui.c')
-rw-r--r--terraform_gui.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/terraform_gui.c b/terraform_gui.c
index 02d6f9490..eeda59bed 100644
--- a/terraform_gui.c
+++ b/terraform_gui.c
@@ -82,8 +82,7 @@ static void GenerateRockyArea(TileIndex end, TileIndex start)
BEGIN_TILE_LOOP(tile, size_x, size_y, TileXY(sx, sy)) {
if (IsTileType(tile, MP_CLEAR) || IsTileType(tile, MP_TREES)) {
- SetTileType(tile, MP_CLEAR);
- SetClearGroundDensity(tile, CL_ROCKS, 3);
+ MakeClear(tile, CL_ROCKS, 3);
MarkTileDirtyByTile(tile);
success = true;
}