From a4d903aa15a6a970475ef95c41905a62e6173161 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 21 May 2013 12:58:21 +0000 Subject: Fixed linking error from rev 1498 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1501 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Entity.cpp | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'source/Entity.cpp') diff --git a/source/Entity.cpp b/source/Entity.cpp index 514777d18..09cb3d030 100644 --- a/source/Entity.cpp +++ b/source/Entity.cpp @@ -498,8 +498,6 @@ bool cEntity::IsA(const char * a_ClassName) const -////////////////////////////////////////////////////////////////////////// -// Set orientations void cEntity::SetRot(const Vector3f & a_Rot) { m_Rot = a_Rot; @@ -521,6 +519,15 @@ void cEntity::SetHeadYaw(double a_HeadYaw) +void cEntity::SetHeight(double a_Height) +{ + m_Height = a_Height; +} + + + + + void cEntity::SetMass(double a_Mass) { if (a_Mass > 0) @@ -612,6 +619,16 @@ void cEntity::SetSpeedZ(double a_SpeedZ) + +void cEntity::SetWidth(double a_Width) +{ + m_Width = a_Width; +} + + + + + void cEntity::AddPosX(double a_AddPosX) { m_Pos.x += a_AddPosX; -- cgit v1.2.3