aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
-rw-r--r--src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp2
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
index 41194939b51..1adbbec120f 100644
--- a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
+++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
@@ -190,7 +190,7 @@ public:
for (uint8 i = 0; i < 6; ++i)
AddList.push_back(Adds[i]);
- Trinity::Containers::RandomResizeList(AddList, 4);
+ Trinity::Containers::RandomResize(AddList, 4);
uint8 i = 0;
for (std::list<uint32>::const_iterator itr = AddList.begin(); itr != AddList.end() && i < 4; ++itr, ++i)
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
index 0e640ed4f1a..95600a06d36 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
@@ -335,7 +335,7 @@ class boss_hexlord_malacrass : public CreatureScript
void SelectAddEntry()
{
std::list<uint32> addList(&AddEntryList[0], &AddEntryList[AddCount]);
- Trinity::Containers::RandomResizeList(addList, 4);
+ Trinity::Containers::RandomResize(addList, 4);
uint8 i = 0;
for (auto itr = addList.begin(); itr != addList.end(); ++itr, ++i)