# HG changeset patch # User frosch # Date 2010-12-01 21:35:18 # Node ID dc6b3aa56bbb339dffd7f5be524dc15cf313b3c3 # Parent f9c5d8346feb32dc8c13d3d331955dc0e1e39f1d (svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be. diff --git a/src/clear_map.h b/src/clear_map.h --- a/src/clear_map.h +++ b/src/clear_map.h @@ -316,7 +316,7 @@ static inline void MakeSnow(TileIndex t, { 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);