From 3d9362d1a35d573c1bedef0718f916363d9cb497 Mon Sep 17 00:00:00 2001 From: faketruth Date: Tue, 7 May 2013 20:02:04 +0000 Subject: 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 --- source/Simulator/SandSimulator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') diff --git a/source/Simulator/SandSimulator.cpp b/source/Simulator/SandSimulator.cpp index baab76d67..9e0b94ac7 100644 --- a/source/Simulator/SandSimulator.cpp +++ b/source/Simulator/SandSimulator.cpp @@ -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; } -- cgit v1.2.3