summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2020-04-09 22:25:20 +0200
committerGitHub <noreply@github.com>2020-04-09 22:25:20 +0200
commitbdedab15c94956cbc74045ab242fd300d25f39e7 (patch)
tree900c4e7f662388e29405ccf059fcab767bbd8046 /src/Entities/FallingBlock.cpp
parentWolves and mooshrooms are passive mobs (diff)
downloadcuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar.gz
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar.bz2
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar.lz
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar.xz
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.tar.zst
cuberite-bdedab15c94956cbc74045ab242fd300d25f39e7.zip
Diffstat (limited to 'src/Entities/FallingBlock.cpp')
-rw-r--r--src/Entities/FallingBlock.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Entities/FallingBlock.cpp b/src/Entities/FallingBlock.cpp
index 628e4d34c..18cd3e086 100644
--- a/src/Entities/FallingBlock.cpp
+++ b/src/Entities/FallingBlock.cpp
@@ -11,11 +11,10 @@
-cFallingBlock::cFallingBlock(Vector3i a_BlockPosition, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) :
- super(etFallingBlock, Vector3d(0.5, 0, 0.5) + a_BlockPosition, 0.98, 0.98),
+cFallingBlock::cFallingBlock(Vector3d a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta):
+ super(etFallingBlock, a_Position, 0.98, 0.98),
m_BlockType(a_BlockType),
- m_BlockMeta(a_BlockMeta),
- m_OriginalPosition(a_BlockPosition)
+ m_BlockMeta(a_BlockMeta)
{
SetGravity(-16.0f);
SetAirDrag(0.02f);