Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
This commit is contained in:
1 parent
38d1fc9ab3
commit
ac3dbcb880
27 files changed
+43
-43
No files matched your search
@@ -1155,7 +1155,7 @@ void Spell::SelectImplicitConeTargets(SpellEffIndex effIndex, SpellImplicitTarge
|
||||
{
|
||||
// Other special target selection goes here
|
||||
if (uint32 maxTargets = m_spellValue->MaxAffectedTargets)
|
||||
Trinity::Containers::RandomResizeList(targets, maxTargets);
|
||||
Trinity::Containers::RandomResize(targets, maxTargets);
|
||||
|
||||
for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
||||
{
|
||||
@@ -1237,7 +1237,7 @@ void Spell::SelectImplicitAreaTargets(SpellEffIndex effIndex, SpellImplicitTarge
|
||||
{
|
||||
// Other special target selection goes here
|
||||
if (uint32 maxTargets = m_spellValue->MaxAffectedTargets)
|
||||
Trinity::Containers::RandomResizeList(targets, maxTargets);
|
||||
Trinity::Containers::RandomResize(targets, maxTargets);
|
||||
|
||||
for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end(); ++itr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user