(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.
This commit is contained in:
@@ -316,7 +316,7 @@ static inline void MakeSnow(TileIndex t, uint density = 0)
|
|||||||
{
|
{
|
||||||
assert(GetClearGround(t) != CLEAR_SNOW);
|
assert(GetClearGround(t) != CLEAR_SNOW);
|
||||||
SetBit(_m[t].m3, 4);
|
SetBit(_m[t].m3, 4);
|
||||||
if (GetClearGround(t) == CLEAR_FIELDS) {
|
if (GetRawClearGround(t) == CLEAR_FIELDS) {
|
||||||
SetClearGroundDensity(t, CLEAR_GRASS, density);
|
SetClearGroundDensity(t, CLEAR_GRASS, density);
|
||||||
} else {
|
} else {
|
||||||
SetClearDensity(t, density);
|
SetClearDensity(t, density);
|
||||||
|
Reference in New Issue
Block a user