diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-02-05 18:43:49 +0100 |
commit | 8ba6f731699465aa13818e307af7b9f001d3767e (patch) | |
tree | bb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Entities/Entity.cpp | |
parent | Fix gcc not having operator ++ on enums (diff) | |
download | cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.gz cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.bz2 cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.lz cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.xz cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.zst cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.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++; |