mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
refactor(Core/Misc): acore to Acore (#6043)
This commit is contained in:
@@ -652,7 +652,7 @@ public:
|
||||
|
||||
void CountTargets(std::list<WorldObject*>& targetList)
|
||||
{
|
||||
acore::Containers::RandomResize(targetList, GetSpellValue()->MaxAffectedTargets);
|
||||
Acore::Containers::RandomResize(targetList, GetSpellValue()->MaxAffectedTargets);
|
||||
_targetCount = targetList.size();
|
||||
}
|
||||
|
||||
@@ -767,7 +767,7 @@ public:
|
||||
|
||||
if (targets.size() > maxTargets)
|
||||
{
|
||||
targets.sort(acore::HealthPctOrderPred());
|
||||
targets.sort(Acore::HealthPctOrderPred());
|
||||
targets.resize(maxTargets);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user