summaryrefslogtreecommitdiffstats
path: root/source/Simulator/SandSimulator.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-07 22:02:04 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-07 22:02:04 +0200
commit3d9362d1a35d573c1bedef0718f916363d9cb497 (patch)
tree8c2ae8422523becb5a00877dddcf2f3592536496 /source/Simulator/SandSimulator.cpp
parentReplaced MIN / MAX with std::min and std::max (pt 2) (diff)
downloadcuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar.gz
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar.bz2
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar.lz
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar.xz
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.tar.zst
cuberite-3d9362d1a35d573c1bedef0718f916363d9cb497.zip
Diffstat (limited to '')
-rw-r--r--source/Simulator/SandSimulator.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}