summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-20 16:39:20 +0100
committermadmaxoft <github@xoft.cz>2013-12-20 16:39:20 +0100
commitd6de11da07af96c9989d9a80a4ee69dad7e9380e (patch)
tree9d4ed13590197d94ffd819c92771260802413e49 /src/Entities/Entity.cpp
parentFixed minor warnings. (diff)
downloadcuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar.gz
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar.bz2
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar.lz
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar.xz
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.tar.zst
cuberite-d6de11da07af96c9989d9a80a4ee69dad7e9380e.zip
Diffstat (limited to 'src/Entities/Entity.cpp')
-rw-r--r--src/Entities/Entity.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp
index 32ee7f2bd..37fdc38ee 100644
--- a/src/Entities/Entity.cpp
+++ b/src/Entities/Entity.cpp
@@ -33,23 +33,19 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, d
, m_Attachee(NULL)
, m_Referencers(new cReferenceManager(cReferenceManager::RFMNGR_REFERENCERS))
, m_References(new cReferenceManager(cReferenceManager::RFMNGR_REFERENCES))
- , m_HeadYaw( 0.0 )
- , m_Rot(0.0, 0.0, 0.0)
- , m_Pos(a_X, a_Y, a_Z)
- , m_Mass (0.001) //Default 1g
, m_bDirtyHead(true)
, m_bDirtyOrientation(true)
, m_bDirtyPosition(true)
, m_bDirtySpeed(true)
, m_bOnGround( false )
, m_Gravity( -9.81f )
- , m_IsInitialized(false)
, m_LastPosX( 0.0 )
, m_LastPosY( 0.0 )
, m_LastPosZ( 0.0 )
, m_TimeLastTeleportPacket(0)
, m_TimeLastMoveReltPacket(0)
, m_TimeLastSpeedPacket(0)
+ , m_IsInitialized(false)
, m_EntityType(a_EntityType)
, m_World(NULL)
, m_TicksSinceLastBurnDamage(0)
@@ -57,6 +53,10 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, d
, m_TicksSinceLastFireDamage(0)
, m_TicksSinceLastVoidDamage(0)
, m_TicksLeftBurning(0)
+ , m_HeadYaw( 0.0 )
+ , m_Rot(0.0, 0.0, 0.0)
+ , m_Pos(a_X, a_Y, a_Z)
+ , m_Mass (0.001) //Default 1g
, m_WaterSpeed(0, 0, 0)
, m_Width(a_Width)
, m_Height(a_Height)