From 6d962a3e357598bacb984ec8e7fbc0277b2e4f53 Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 1 Dec 2010 21:35:18 +0000 Subject: (svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be. --- src/clear_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2