diff options
author | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-28 07:05:10 +0200 |
---|---|---|
committer | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-04-28 07:05:10 +0200 |
commit | 16370ff4eb0be35a4ff302dbe797f3934546fd36 (patch) | |
tree | e4ae9a30cae6460876fb033bc1d85f8a936d7fcd /source/Entity.cpp | |
parent | Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail. (diff) | |
download | cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar.gz cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar.bz2 cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar.lz cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar.xz cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.tar.zst cuberite-16370ff4eb0be35a4ff302dbe797f3934546fd36.zip |
Diffstat (limited to 'source/Entity.cpp')
-rw-r--r-- | source/Entity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Entity.cpp b/source/Entity.cpp index 54fe70bef..5f14a5e53 100644 --- a/source/Entity.cpp +++ b/source/Entity.cpp @@ -31,6 +31,7 @@ cEntity::cEntity(eEntityType a_EntityType, double a_X, double a_Y, double a_Z) , 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_bDirtyHead(true) , m_bDirtyOrientation(true) |