summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 17:14:34 +0100
commit09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch)
treee73cb54e56cad1845559f493a861447d8cded0e3 /src/Entities/Player.h
parentMerge remote-tracking branch 'upstream/master' into threadsafequeue (diff)
parentconverted commneted paramater names to the unused macro (diff)
downloadcuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.gz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.bz2
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.lz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.xz
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.zst
cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.zip
Diffstat (limited to 'src/Entities/Player.h')
-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 66f1c07a7..f9ce950ba 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 { UNUSED(a_Dt); };
/// 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; }