diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-05 20:08:10 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-05 20:08:10 +0100 |
commit | 9015e56c604b2ad3ce47ddae8e9556187fe8978e (patch) | |
tree | 60b23762504cfb9eb4cba9758f15c0e5fab46123 /src/Entities/Entity.cpp | |
parent | Modified automatic test for boundingBox (diff) | |
parent | Merge pull request #645 from mc-server/GroupsPermissions (diff) | |
download | cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar.gz cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar.bz2 cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar.lz cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar.xz cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.tar.zst cuberite-9015e56c604b2ad3ce47ddae8e9556187fe8978e.zip |
Diffstat (limited to 'src/Entities/Entity.cpp')
-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++; |