diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-25 08:36:59 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-25 08:36:59 +0200 |
commit | 4fe7801cfccbfa6f5a42ac2eb919287ef98ea611 (patch) | |
tree | 4afeac98622e2a49894164651af7b8d70d91d254 /source/FallingBlock.cpp | |
parent | ActivatorRail is craftable (Patch by tonibm19) (diff) | |
download | cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.gz cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.bz2 cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.lz cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.xz cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.tar.zst cuberite-4fe7801cfccbfa6f5a42ac2eb919287ef98ea611.zip |
Diffstat (limited to '')
-rw-r--r-- | source/FallingBlock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/FallingBlock.cpp b/source/FallingBlock.cpp index f20abe3ba..0da00e29f 100644 --- a/source/FallingBlock.cpp +++ b/source/FallingBlock.cpp @@ -58,7 +58,7 @@ void cFallingBlock::Tick(float a_Dt, cChunk & a_Chunk) // Fallen out of this world, just continue falling until out of sight, then destroy:
if (BlockY < 100)
{
- Destroy();
+ Destroy(true);
}
return;
}
@@ -77,7 +77,7 @@ void cFallingBlock::Tick(float a_Dt, cChunk & a_Chunk) // Fallen onto a block that breaks this into pickups (e. g. half-slab)
// Must finish the fall with coords one below the block:
cSandSimulator::FinishFalling(m_World, BlockX, BlockY, BlockZ, m_BlockType, m_BlockMeta);
- Destroy();
+ Destroy(true);
return;
}
else if (!cSandSimulator::CanContinueFallThrough(BlockBelow))
@@ -93,7 +93,7 @@ void cFallingBlock::Tick(float a_Dt, cChunk & a_Chunk) */
cSandSimulator::FinishFalling(m_World, BlockX, BlockY + 1, BlockZ, m_BlockType, m_BlockMeta);
- Destroy();
+ Destroy(true);
return;
}
}
|