From 16370ff4eb0be35a4ff302dbe797f3934546fd36 Mon Sep 17 00:00:00 2001 From: "keyboard.osh@gmail.com" Date: Sun, 28 Apr 2013 05:05:10 +0000 Subject: [PATCH] Added initialization of rotation in cEntity. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1426 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Entity.cpp | 1 + 1 file changed, 1 insertion(+) 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)