diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-07 22:02:04 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-07 22:02:04 +0200 |
commit | 3d9362d1a35d573c1bedef0718f916363d9cb497 (patch) | |
tree | 8c2ae8422523becb5a00877dddcf2f3592536496 /source/Simulator | |
parent | Replaced MIN / MAX with std::min and std::max (pt 2) (diff) | |
download | cuberite-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 'source/Simulator')
-rw-r--r-- | source/Simulator/SandSimulator.cpp | 3 |
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; } |