mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/AI: Remove unnecessary parameter from DoZoneInCombat after eb1972f
This commit is contained in:
@@ -48,7 +48,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();)
|
||||
{
|
||||
@@ -57,7 +57,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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ public:
|
||||
DoActionImpl(info, listCopy);
|
||||
}
|
||||
|
||||
void DoZoneInCombat(uint32 entry = 0, float maxRangeToNearestTarget = 250.0f);
|
||||
void DoZoneInCombat(uint32 entry = 0);
|
||||
void RemoveNotExisting();
|
||||
bool HasEntry(uint32 entry) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user