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

pull/155/head
frosch 14 years ago
parent 487b8fc372
commit 9ecaa47953

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

Loading…
Cancel
Save