summaryrefslogtreecommitdiffstats
path: root/src/Entities/FallingBlock.h
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.h
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 '')
-rw-r--r--src/Entities/FallingBlock.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Entities/FallingBlock.h b/src/Entities/FallingBlock.h
index e4e9582d8..dfac287fd 100644
--- a/src/Entities/FallingBlock.h
+++ b/src/Entities/FallingBlock.h
@@ -20,8 +20,8 @@ public: // tolua_export
CLASS_PROTODEF(cFallingBlock)
/** Creates a new falling block.
- a_BlockPosition is expected in world coords */
- cFallingBlock(Vector3i a_BlockPosition, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
+ a_Position is expected in world coords */
+ cFallingBlock(Vector3d a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
// tolua_begin
@@ -37,7 +37,6 @@ public: // tolua_export
private:
BLOCKTYPE m_BlockType;
NIBBLETYPE m_BlockMeta;
- Vector3i m_OriginalPosition; // Position where the falling block has started, in world coords
} ; // tolua_export