diff options
author | tycho <work.tycho@gmail.com> | 2015-05-23 16:33:52 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-23 16:33:52 +0200 |
commit | 81c0116cf1c0b06e24f9f69e219c3f1e302d81e2 (patch) | |
tree | 8df120fde19c9c27f5a8681a7952aa9e802bc800 /src/Mobs | |
parent | Merge branch 'master' into PreventNewWarnings (diff) | |
parent | Merge pull request #2117 from Seadragon91/clang_errors (diff) | |
download | cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar.gz cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar.bz2 cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar.lz cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar.xz cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.tar.zst cuberite-81c0116cf1c0b06e24f9f69e219c3f1e302d81e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Horse.h | 2 | ||||
-rw-r--r-- | src/Mobs/Wolf.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Mobs/Horse.h b/src/Mobs/Horse.h index be283705e..27168ebae 100644 --- a/src/Mobs/Horse.h +++ b/src/Mobs/Horse.h @@ -26,7 +26,7 @@ public: bool IsEating (void) const {return m_bIsEating; } bool IsRearing (void) const {return m_bIsRearing; } bool IsMthOpen (void) const {return m_bIsMouthOpen; } - bool IsTame (void) const {return m_bIsTame; } + bool IsTame (void) const override {return m_bIsTame; } int GetHorseType (void) const {return m_Type; } int GetHorseColor (void) const {return m_Color; } int GetHorseStyle (void) const {return m_Style; } diff --git a/src/Mobs/Wolf.h b/src/Mobs/Wolf.h index 73ffb55c2..5de83acd8 100644 --- a/src/Mobs/Wolf.h +++ b/src/Mobs/Wolf.h @@ -25,8 +25,8 @@ public: virtual void Attack(std::chrono::milliseconds a_Dt) override; // Get functions - bool IsSitting (void) const { return m_IsSitting; } - bool IsTame (void) const { return m_IsTame; } + bool IsSitting (void) const override { return m_IsSitting; } + bool IsTame (void) const override { return m_IsTame; } bool IsBegging (void) const { return m_IsBegging; } bool IsAngry (void) const { return m_IsAngry; } AString GetOwnerName (void) const { return m_OwnerName; } |