diff options
author | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-11-30 07:58:02 +0100 |
---|---|---|
committer | Safwat Halaby <SafwatHalaby@users.noreply.github.com> | 2015-11-30 07:58:02 +0100 |
commit | 1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9 (patch) | |
tree | 0da79374832cae75ae5d9e6822712b3b62cbdbe8 /src/Mobs/Horse.h | |
parent | Updated DumpInfo plugin (diff) | |
parent | implement breeding (diff) | |
download | cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.gz cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.bz2 cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.lz cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.xz cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.zst cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Horse.h | 6 |
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; |