summaryrefslogtreecommitdiffstats
path: root/source/Entities/Entity.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-29 14:47:22 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-29 14:47:22 +0200
commit7056992d0d99fde627e00c5d7f524cad0a70073d (patch)
treed999ba9178beb3d029f409291e85fa69e29ccd42 /source/Entities/Entity.h
parentFixed Minecart spawning issues (diff)
downloadcuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.gz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.bz2
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.lz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.xz
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.tar.zst
cuberite-7056992d0d99fde627e00c5d7f524cad0a70073d.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/Entity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Entities/Entity.h b/source/Entities/Entity.h
index 7ae70b8cf..119cb2fe5 100644
--- a/source/Entities/Entity.h
+++ b/source/Entities/Entity.h
@@ -352,9 +352,6 @@ protected:
bool m_bOnGround;
float m_Gravity;
- // Measured in Kilograms (Kg)
- double m_Mass;
-
// Last Position.
double m_LastPosX, m_LastPosY, m_LastPosZ;
@@ -402,6 +399,9 @@ private:
// Measured in meter / second
Vector3d m_WaterSpeed;
+ // Measured in Kilograms (Kg)
+ double m_Mass;
+
/// Width of the entity, in the XZ plane. Since entities are represented as cylinders, this is more of a diameter.
double m_Width;