summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-15 23:38:15 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-15 23:38:15 +0100
commitf3baf31563940f1cc6790a9a5b50cd1e12c2abd8 (patch)
treeea602cf77d8399c74a5da4a0336d5cd9f706ff8d /src/Entities
parentImplemented custom names and lore (diff)
downloadcuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar.gz
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar.bz2
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar.lz
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar.xz
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.tar.zst
cuberite-f3baf31563940f1cc6790a9a5b50cd1e12c2abd8.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 878e69668..cddc3fd49 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -155,7 +155,7 @@ public:
double GetPosY (void) const { return m_Pos.y; }
double GetPosZ (void) const { return m_Pos.z; }
const Vector3d & GetRot (void) const { return m_Rot; }
- double GetRotation (void) const { return m_Rot.x; } // OBSOLETE, use GetYaw() instead
+ OBSOLETE double GetRotation (void) const { return m_Rot.x; } // OBSOLETE, use GetYaw() instead
double GetYaw (void) const { return m_Rot.x; }
double GetPitch (void) const { return m_Rot.y; }
double GetRoll (void) const { return m_Rot.z; }
@@ -178,7 +178,7 @@ public:
void SetPosition(double a_PosX, double a_PosY, double a_PosZ);
void SetPosition(const Vector3d & a_Pos) { SetPosition(a_Pos.x, a_Pos.y, a_Pos.z); }
void SetRot (const Vector3f & a_Rot);
- void SetRotation(double a_Rotation) { SetYaw(a_Rotation); } // OBSOLETE, use SetYaw() instead
+ OBSOLETE void SetRotation(double a_Rotation) { SetYaw(a_Rotation); } // OBSOLETE, use SetYaw() instead
void SetYaw (double a_Yaw);
void SetPitch (double a_Pitch);
void SetRoll (double a_Roll);