mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-17 17:24:33 +00:00
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572)
This commit is contained in:
@@ -137,7 +137,7 @@ public:
|
||||
targetList.push_back((*itr)->getTarget());
|
||||
}
|
||||
|
||||
acore::Containers::RandomResizeList(targetList, 5);
|
||||
acore::Containers::RandomResize(targetList, 5);
|
||||
|
||||
for (std::list<Unit*>::iterator itr = targetList.begin(); itr != targetList.end(); ++itr)
|
||||
DoCast(*itr, SPELL_DRAIN_MANA);
|
||||
|
||||
Reference in New Issue
Block a user