summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Horse.h
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-11-29 19:13:31 +0100
committerGargaj <gargaj@conspiracy.hu>2015-11-29 20:14:28 +0100
commit4ae3b64b077b444c8217f8da265cb5eedeaf699a (patch)
tree0da79374832cae75ae5d9e6822712b3b62cbdbe8 /src/Mobs/Horse.h
parentUpdated DumpInfo plugin (diff)
downloadcuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.gz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.bz2
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.lz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.xz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.zst
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Horse.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Mobs/Horse.h b/src/Mobs/Horse.h
index 27168ebae..987ab71a9 100644
--- a/src/Mobs/Horse.h
+++ b/src/Mobs/Horse.h
@@ -32,6 +32,12 @@ public:
int GetHorseStyle (void) const {return m_Style; }
int GetHorseArmour (void) const {return m_Armour;}
+ virtual void GetBreedingItems(cItems & a_Items) override
+ {
+ a_Items.Add(E_ITEM_GOLDEN_CARROT);
+ a_Items.Add(E_ITEM_GOLDEN_APPLE);
+ }
+
private:
bool m_bHasChest, m_bIsEating, m_bIsRearing, m_bIsMouthOpen, m_bIsTame, m_bIsSaddled;