diff options
author | Lukas Pioch <lukas@zgow.de> | 2015-05-23 13:56:08 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2015-05-23 16:28:37 +0200 |
commit | e30b2ed487b4a676eff98fcd6118e0837de204e3 (patch) | |
tree | f258bae1dce1ca418a14ae0d30f1bbd6740f0437 /src/Entities/Player.h | |
parent | Merge pull request #2108 from mc-server/tgh-boolean (diff) | |
download | cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.gz cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.bz2 cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.lz cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.xz cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.tar.zst cuberite-e30b2ed487b4a676eff98fcd6118e0837de204e3.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index a0cd9b1d6..579eb8748 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -483,11 +483,11 @@ public: bool PlaceBlocks(const sSetBlockVector & a_Blocks); // cEntity overrides: - virtual bool IsCrouched (void) const { return m_IsCrouched; } - virtual bool IsSprinting(void) const { return m_IsSprinting; } - virtual bool IsRclking (void) const { return IsEating() || IsChargingBow(); } + virtual bool IsCrouched (void) const override { return m_IsCrouched; } + virtual bool IsSprinting(void) const override { return m_IsSprinting; } + virtual bool IsRclking (void) const override { return IsEating() || IsChargingBow(); } - virtual void Detach(void); + virtual void Detach(void) override; /** Called by cClientHandle when the client is being destroyed. The player removes its m_ClientHandle ownership so that the ClientHandle gets deleted. */ @@ -642,7 +642,7 @@ protected: void ResolvePermissions(void); void ResolveGroups(void); - virtual void Destroyed(void); + virtual void Destroyed(void) override; /** Filters out damage for creative mode / friendly fire */ virtual bool DoTakeDamage(TakeDamageInfo & TDI) override; |