diff options
author | Mattes D <github@xoft.cz> | 2015-02-07 12:53:13 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-02-07 12:53:13 +0100 |
commit | 02b6a9303e886f0a6aaf9f78b02942e211ce5523 (patch) | |
tree | 2be4d9e739569d1742b0933158a914328f254cf0 /src/Entities/Player.h | |
parent | Switched LuaState to use sizeof... (diff) | |
parent | Spacing (diff) | |
download | cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar.gz cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar.bz2 cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar.lz cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar.xz cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.tar.zst cuberite-02b6a9303e886f0a6aaf9f78b02942e211ce5523.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index fa9ac7cad..7abb1b98a 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -121,7 +121,7 @@ public: inline void SetStance( const double a_Stance) { m_Stance = a_Stance; } double GetEyeHeight(void) const; // tolua_export Vector3d GetEyePosition(void) const; // tolua_export - inline bool IsOnGround(void) const {return m_bTouchGround; } // tolua_export + virtual bool IsOnGround(void) const override { return m_bTouchGround; } inline 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; } |