1
0
Fork 0

(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.

release/1.1
frosch 2010-12-01 21:35:18 +00:00
parent 2dcda5fa8f
commit 6d962a3e35
1 changed files with 1 additions and 1 deletions

View File

@ -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);