diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.cpp | 14 | ||||
-rw-r--r-- | src/Mobs/Monster.h | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 52b3f8454..b115b241a 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -598,20 +598,6 @@ bool cMonster::DoTakeDamage(TakeDamageInfo & a_TDI) -void cMonster::DoMoveToWorld(const cEntity::sWorldChangeInfo & a_WorldChangeInfo) -{ - // Stop all mobs from targeting this entity - // Stop this entity from targeting other mobs - SetTarget(nullptr); - StopEveryoneFromTargetingMe(); - - Super::DoMoveToWorld(a_WorldChangeInfo); -} - - - - - void cMonster::KilledBy(TakeDamageInfo & a_TDI) { Super::KilledBy(a_TDI); diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index eb8905ae3..830919c22 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -358,8 +358,6 @@ protected: /** Adds weapon that is equipped with the chance saved in m_DropChance[...] (this will be greter than 1 if picked up or 0.085 + (0.01 per LootingLevel) if born with) to the drop */ void AddRandomWeaponDropItem(cItems & a_Drops, unsigned int a_LootingLevel); - virtual void DoMoveToWorld(const cEntity::sWorldChangeInfo & a_WorldChangeInfo) override; - /* The breeding processing */ /** The monster's breeding partner. */ |