1
0

Sand can fall through snow.

Patch courtesy of InHavk

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1457 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
faketruth 2013-05-07 20:02:04 +00:00
parent 3292a0118f
commit 3d9362d1a3

View File

@ -125,6 +125,7 @@ bool cSandSimulator::CanStartFallingThrough(BLOCKTYPE a_BlockType)
case E_BLOCK_STATIONARY_LAVA:
case E_BLOCK_STATIONARY_WATER:
case E_BLOCK_WATER:
case E_BLOCK_SNOW:
{
return true;
}
@ -176,6 +177,7 @@ bool cSandSimulator::CanContinueFallThrough(BLOCKTYPE a_BlockType)
case E_BLOCK_WOODEN_BUTTON:
case E_BLOCK_WOODEN_PRESSURE_PLATE:
case E_BLOCK_YELLOW_FLOWER:
case E_BLOCK_SNOW:
{
return true;
}
@ -199,6 +201,7 @@ bool cSandSimulator::IsReplacedOnRematerialization(BLOCKTYPE a_BlockType)
case E_BLOCK_STATIONARY_WATER:
case E_BLOCK_TALL_GRASS:
case E_BLOCK_WATER:
case E_BLOCK_SNOW:
{
return true;
}