From e0f74160ea83db6409eaec105fc0fe96151ecfac Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 9 Jun 2012 16:27:42 +0000 Subject: 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 --- source/cChunk.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/cChunk.cpp') diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 21c84b8ce..5d5a1d972 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -445,6 +445,7 @@ void cChunk::CheckBlocks(void) NIBBLETYPE BlockMeta = GetMeta (index); switch (BlockType) { + // Stuff that drops when block below is destroyed: case E_BLOCK_REDSTONE_REPEATER_OFF: case E_BLOCK_REDSTONE_REPEATER_ON: case E_BLOCK_REDSTONE_WIRE: @@ -459,7 +460,8 @@ void cChunk::CheckBlocks(void) case E_BLOCK_YELLOW_FLOWER: case E_BLOCK_RED_ROSE: 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) { -- cgit v1.2.3