diff options
Diffstat (limited to 'source/Player.h')
-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; } |