mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -662,7 +662,7 @@ class spell_pal_divine_storm_dummy : public SpellScriptLoader
|
||||
|
||||
void CountTargets(std::list<WorldObject*>& targetList)
|
||||
{
|
||||
Trinity::Containers::RandomResizeList(targetList, GetSpellValue()->MaxAffectedTargets);
|
||||
acore::Containers::RandomResizeList(targetList, GetSpellValue()->MaxAffectedTargets);
|
||||
_targetCount = targetList.size();
|
||||
}
|
||||
|
||||
@@ -779,7 +779,7 @@ class spell_pal_glyph_of_holy_light : public SpellScriptLoader
|
||||
|
||||
if (targets.size() > maxTargets)
|
||||
{
|
||||
targets.sort(Trinity::HealthPctOrderPred());
|
||||
targets.sort(acore::HealthPctOrderPred());
|
||||
targets.resize(maxTargets);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user