diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-03-23 00:11:58 +0100 |
|---|---|---|
| committer | ariel- <ariel-@users.noreply.github.com> | 2017-06-03 02:27:48 -0300 |
| commit | abac1b34bcb84d65ef857076321af3acd22a3c9b (patch) | |
| tree | 3b698b17e9233a612faf44777d7b8d4402cb18f2 /src/server/scripts/Spells | |
| parent | ff39c27104634c9f1d37a0625eb78461e34c77a0 (diff) | |
Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
* Also fix gcc build
(cherry picked from commit f097e341f5afcac2dd0ae9dbb265201c0de2a934)
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_druid.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 59ccf7a8bda..11a47b025d8 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -1543,7 +1543,7 @@ class spell_dru_starfall_dummy : public SpellScriptLoader void FilterTargets(std::list<WorldObject*>& targets) { - Trinity::Containers::RandomResizeList(targets, 2); + Trinity::Containers::RandomResize(targets, 2); } void HandleDummy(SpellEffIndex /*effIndex*/) diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 6fb323074f5..01f3efb0e33 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -4329,7 +4329,7 @@ class spell_item_taunt_flag_targeting : public SpellScriptLoader return; } - Trinity::Containers::RandomResizeList(targets, 1); + Trinity::Containers::RandomResize(targets, 1); } void HandleDummy(SpellEffIndex /*effIndex*/) |
