summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-05-23 16:31:49 +0200
committerworktycho <work.tycho@gmail.com>2015-05-23 16:31:49 +0200
commit7e0dc0f9bc4c555c67a3dfe48669916259c16b5a (patch)
treeaaa204d290f99d1b6f251055f046e8e86c795bfd /src/Mobs
parentMerge pull request #2116 from mc-server/CMakeCacheOptions (diff)
parentFixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. (diff)
downloadcuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar.gz
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar.bz2
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar.lz
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar.xz
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.tar.zst
cuberite-7e0dc0f9bc4c555c67a3dfe48669916259c16b5a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Horse.h2
-rw-r--r--src/Mobs/Wolf.h4
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; }