Made DeepSnow remove flowers and mushrooms while snowing.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1001 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
ba8a5184c8
commit
35e174b4c1
@ -595,6 +595,18 @@ void cChunk::ApplyWeatherToTop(MTRand & a_TickRandom)
|
|||||||
{
|
{
|
||||||
SetBlock(X, Height, Z, E_BLOCK_ICE, 0);
|
SetBlock(X, Height, Z, E_BLOCK_ICE, 0);
|
||||||
}
|
}
|
||||||
|
else if (
|
||||||
|
(m_World->IsDeepSnowEnabled()) &&
|
||||||
|
(
|
||||||
|
(TopBlock == E_BLOCK_RED_ROSE) ||
|
||||||
|
(TopBlock == E_BLOCK_YELLOW_FLOWER) ||
|
||||||
|
(TopBlock == E_BLOCK_RED_MUSHROOM) ||
|
||||||
|
(TopBlock == E_BLOCK_BROWN_MUSHROOM)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
SetBlock(X, Height, Z, E_BLOCK_SNOW, 0);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
} // case (snowy biomes)
|
} // case (snowy biomes)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user