summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-05-23 13:56:08 +0200
committerLukas Pioch <lukas@zgow.de>2015-05-23 16:28:37 +0200
commite30b2ed487b4a676eff98fcd6118e0837de204e3 (patch)
treef258bae1dce1ca418a14ae0d30f1bbd6740f0437 /src/Mobs
parentMerge pull request #2108 from mc-server/tgh-boolean (diff)
downloadcuberite-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 '')
-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; }