summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-21 16:38:37 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-21 16:38:37 +0100
commit9f41761e8ea1eff8980af4dceb7137471538298b (patch)
tree55c3e70d3a1c2582483f490921a5153c49a260cc /src/Entities
parentPiston is now warnings clean (diff)
downloadcuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.gz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.bz2
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.lz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.xz
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.tar.zst
cuberite-9f41761e8ea1eff8980af4dceb7137471538298b.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index c0ad9eeac..241eb3050 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -45,7 +45,7 @@ public:
virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
- virtual void HandlePhysics(float a_Dt, cChunk & a_Chunk) override { };
+ virtual void HandlePhysics(float /*a_Dt*/, cChunk &) override { };
/// Returns the curently equipped weapon; empty item if none
virtual cItem GetEquippedWeapon(void) const override { return m_Inventory.GetEquippedItem(); }
@@ -114,7 +114,7 @@ public:
double GetEyeHeight(void) const; // tolua_export
Vector3d GetEyePosition(void) const; // tolua_export
inline bool IsOnGround(void) const {return m_bTouchGround; } // tolua_export
- inline const double GetStance(void) const { return GetPosY() + 1.62; } // tolua_export // TODO: Proper stance when crouching etc.
+ 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; }