fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572)
This commit is contained in:
parent
75c75a40d4
commit
44babc3c3a
26 changed files with 136 additions and 105 deletions
|
|
@ -1193,7 +1193,7 @@ public:
|
|||
void FilterTargets(std::list<WorldObject*>& targets)
|
||||
{
|
||||
targets.remove_if(GhoulTargetCheck(GetSpellInfo()->Id == 70790));
|
||||
acore::Containers::RandomResizeList(targets, 2);
|
||||
acore::Containers::RandomResize(targets, 2);
|
||||
}
|
||||
|
||||
void HandleScript(SpellEffIndex effIndex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue