diff options
author | Alexander Harkness <bearbin@gmail.com> | 2014-02-05 19:24:08 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2014-02-05 19:24:08 +0100 |
commit | b9aa0420a3f4d8374960860d2e570d724076c9e5 (patch) | |
tree | b67e4e427ef14174c3dd588f2bf12311da38c995 /src/Entities/Entity.cpp | |
parent | Improved the signedness conversion. (diff) | |
parent | Fixed most of the reordering warnings (diff) | |
download | cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar.gz cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar.bz2 cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar.lz cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar.xz cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.tar.zst cuberite-b9aa0420a3f4d8374960860d2e570d724076c9e5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 08780ca8b..8554ab2a5 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -50,6 +50,8 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, d , m_TicksSinceLastFireDamage(0) , m_TicksLeftBurning(0) , m_TicksSinceLastVoidDamage(0) + , m_IsSwimming(false) + , m_IsSubmerged(false) , m_HeadYaw( 0.0 ) , m_Rot(0.0, 0.0, 0.0) , m_Pos(a_X, a_Y, a_Z) @@ -57,8 +59,6 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z, d , m_Mass (0.001) // Default 1g , m_Width(a_Width) , m_Height(a_Height) - , m_IsSubmerged(false) - , m_IsSwimming(false) { cCSLock Lock(m_CSCount); m_EntityCount++; |