summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clear_cmd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp
index 2e157ffcf..461cf4368 100644
--- a/src/clear_cmd.cpp
+++ b/src/clear_cmd.cpp
@@ -177,7 +177,8 @@ static void TileLoopClearAlps(TileIndex tile)
AddClearDensity(tile, -1);
} else {
/* Density at the required level. */
- if (k < 0) ClearSnow(tile);
+ if (k >= 0) return;
+ ClearSnow(tile);
}
MarkTileDirtyByTile(tile);
}