Snow cover breaks when the block below it is removed (FS #184).

git-svn-id: http://mc-server.googlecode.com/svn/trunk@591 0a769ca7-a7f5-676a-18bf-c427514a06d6
master
madmaxoft@gmail.com 2012-06-09 16:27:42 +00:00
parent a23e4f3177
commit e0f74160ea
1 changed files with 3 additions and 1 deletions

View File

@ -445,6 +445,7 @@ void cChunk::CheckBlocks(void)
NIBBLETYPE BlockMeta = GetMeta (index); NIBBLETYPE BlockMeta = GetMeta (index);
switch (BlockType) switch (BlockType)
{ {
// Stuff that drops when block below is destroyed:
case E_BLOCK_REDSTONE_REPEATER_OFF: case E_BLOCK_REDSTONE_REPEATER_OFF:
case E_BLOCK_REDSTONE_REPEATER_ON: case E_BLOCK_REDSTONE_REPEATER_ON:
case E_BLOCK_REDSTONE_WIRE: case E_BLOCK_REDSTONE_WIRE:
@ -459,7 +460,8 @@ void cChunk::CheckBlocks(void)
case E_BLOCK_YELLOW_FLOWER: case E_BLOCK_YELLOW_FLOWER:
case E_BLOCK_RED_ROSE: case E_BLOCK_RED_ROSE:
case E_BLOCK_RED_MUSHROOM: case E_BLOCK_RED_MUSHROOM:
case E_BLOCK_BROWN_MUSHROOM: // Stuff that drops when block below is destroyed case E_BLOCK_BROWN_MUSHROOM:
case E_BLOCK_SNOW:
{ {
if (GetBlock(BlockPos.x, BlockPos.y - 1, BlockPos.z) == E_BLOCK_AIR) if (GetBlock(BlockPos.x, BlockPos.y - 1, BlockPos.z) == E_BLOCK_AIR)
{ {