summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/clear_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_map.h b/src/clear_map.h
index 89a444f73..ed5409a94 100644
--- a/src/clear_map.h
+++ b/src/clear_map.h
@@ -316,7 +316,7 @@ static inline void MakeSnow(TileIndex t, uint density = 0)
{
assert(GetClearGround(t) != CLEAR_SNOW);
SetBit(_m[t].m3, 4);
- if (GetClearGround(t) == CLEAR_FIELDS) {
+ if (GetRawClearGround(t) == CLEAR_FIELDS) {
SetClearGroundDensity(t, CLEAR_GRASS, density);
} else {
SetClearDensity(t, density);