summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp11
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();