diff options
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/World.cpp b/src/World.cpp index 9a2e23ac0..6bb5b5940 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3504,15 +3504,6 @@ UInt32 cWorld::SpawnMobFinalize(cMonster * a_Monster) return cEntity::INVALID_ID; } - cPlayer * a_Closest_Player = FindClosestPlayer(a_Monster->GetPosition(), 24); - if (a_Closest_Player != nullptr) // Too close to a player, bail out. - { - delete a_Monster; - a_Monster = nullptr; - return cEntity::INVALID_ID; - } - - // Initialize the monster into the current world. if (!a_Monster->Initialize(*this)) { |