summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2014-02-03 20:52:11 +0100
committertonibm19 <tonibm19@gmail.com>2014-02-03 20:52:11 +0100
commitc2e7dd34d98258bdfa5baa2f27f08999909996c5 (patch)
treea402d6ecad32c4effafed2c7d27ea87f357685e5 /src/Entities
parentMerge pull request #623 from mc-server/tnt (diff)
downloadcuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar.gz
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar.bz2
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar.lz
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar.xz
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.tar.zst
cuberite-c2e7dd34d98258bdfa5baa2f27f08999909996c5.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Entity.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index b2edfc2b4..5287e3a6d 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -158,6 +158,7 @@ public:
double GetHeight (void) const { return m_Height; }
double GetMass (void) const { return m_Mass; }
const Vector3d & GetPosition (void) const { return m_Pos; }
+ const Vector3d & GetPosition (void) const { return m_Pos; }
double GetPosX (void) const { return m_Pos.x; }
double GetPosY (void) const { return m_Pos.y; }
double GetPosZ (void) const { return m_Pos.z; }