Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f

(cherry picked from commit c00a2efb21356eb4105cb7db9112c708762d9191)
This commit is contained in:
Treeston
2021-10-22 13:29:34 +02:00
committed by Shauren
parent 8f097e4425
commit 5d48e8db7d
15 changed files with 23 additions and 23 deletions
@@ -41,7 +41,7 @@ void SummonList::Despawn(Creature const* summon)
storage_.remove(summon->GetGUID());
}
void SummonList::DoZoneInCombat(uint32 entry, float maxRangeToNearestTarget)
void SummonList::DoZoneInCombat(uint32 entry)
{
for (StorageType::iterator i = storage_.begin(); i != storage_.end();)
{
@@ -50,7 +50,7 @@ void SummonList::DoZoneInCombat(uint32 entry, float maxRangeToNearestTarget)
if (summon && summon->IsAIEnabled
&& (!entry || summon->GetEntry() == entry))
{
summon->AI()->DoZoneInCombat(nullptr, maxRangeToNearestTarget);
summon->AI()->DoZoneInCombat(nullptr);
}
}
}