diff options
author | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-22 07:33:10 +0100 |
---|---|---|
committer | keyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-03-22 07:33:10 +0100 |
commit | 39e4bd323914143408120fc914fd1c52557baac6 (patch) | |
tree | 434530690980e923d6b989b494e9fa9a4c6699ac /source/Player.h | |
parent | DelayedFluidSimulator: optimized block storage for large amounts of blocks. (diff) | |
download | cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar.gz cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar.bz2 cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar.lz cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar.xz cuberite-39e4bd323914143408120fc914fd1c52557baac6.tar.zst cuberite-39e4bd323914143408120fc914fd1c52557baac6.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Player.h b/source/Player.h index 45f3a3226..7d825eec4 100644 --- a/source/Player.h +++ b/source/Player.h @@ -61,7 +61,7 @@ public: double GetEyeHeight(); // tolua_export Vector3d GetEyePosition(); // tolua_export inline bool IsOnGround(void) const {return m_bTouchGround; } // tolua_export - inline const double GetStance(void) const { return m_Pos.y + 1.62; } // tolua_export // TODO: Proper stance when crouching etc. + inline const double GetStance(void) const { return GetPosY() + 1.62; } // tolua_export // TODO: Proper stance when crouching etc. inline cInventory & GetInventory(void) { return m_Inventory; } // tolua_export inline const cInventory & GetInventory(void) const { return m_Inventory; } |