diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 14:15:36 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-22 19:55:30 +0200 |
commit | 18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e (patch) | |
tree | 221db2c2a9f4c3388f50edf79d38448ca1a0e4a2 /src/Mobs/Monster.cpp | |
parent | d (diff) | |
download | cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.gz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.bz2 cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.lz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.xz cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.zst cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.zip |
Diffstat (limited to 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 059edbcbc..4513ea3f8 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -1167,13 +1167,17 @@ cBehaviorWanderer * cMonster::GetBehaviorWanderer() -void cMonster::InheritFromParents(cMonster * a_Parent1, cMonster * a_Parent2) +void cMonster::InheritFromParents(cPassiveMonster * a_Parent1, cPassiveMonster * a_Parent2) { UNUSED(a_Parent1); UNUSED(a_Parent2); return; } + + + + void cMonster::GetFollowedItems(cItems & a_Items) { return; @@ -1183,6 +1187,11 @@ void cMonster::GetFollowedItems(cItems & a_Items) +void cMonster::GetBreedingItems(cItems & a_Items) +{ + return GetFollowedItems(); +} + std::unique_ptr<cMonster> cMonster::NewMonsterFromType(eMonsterType a_MobType) { auto & Random = GetRandomProvider(); |