diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
commit | 09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch) | |
tree | e73cb54e56cad1845559f493a861447d8cded0e3 /src/Entities/Entity.h | |
parent | Merge remote-tracking branch 'upstream/master' into threadsafequeue (diff) | |
parent | converted commneted paramater names to the unused macro (diff) | |
download | cuberite-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/Entity.h')
-rw-r--r-- | src/Entities/Entity.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 9cb36eb14..3634f087c 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -351,10 +351,14 @@ public: // tolua_end /// Called when the specified player right-clicks this entity - virtual void OnRightClicked(cPlayer & a_Player) {}; + virtual void OnRightClicked(cPlayer &) {}; /// Returns the list of drops for this pawn when it is killed. May check a_Killer for special handling (sword of looting etc.). Called from KilledBy(). - virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) {} + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) + { + UNUSED(a_Drops); + UNUSED(a_Killer); + } protected: static cCriticalSection m_CSCount; @@ -420,11 +424,11 @@ protected: void Dereference( cEntity*& a_EntityPtr ); private: - // Measured in degrees (MAX 360°) + // Measured in degrees (MAX 360 degrees) double m_HeadYaw; // Measured in meter/second (m/s) Vector3d m_Speed; - // Measured in degrees (MAX 360°) + // Measured in degrees (MAX 360 degrees) Vector3d m_Rot; /// Position of the entity's XZ center and Y bottom |