869 {
870 std::list<WorldObject*> healList = unitList;
871 std::list<WorldObject*> dpsList = unitList;
872 unitList.clear();
875 if (healList.size() > maxSize)
878 if (dpsList.size() > maxSize)
880 unitList.splice(unitList.begin(), healList);
881 unitList.splice(unitList.begin(), dpsList);
882 }
std::uint32_t uint32
Definition Define.h:107
Unit * GetCaster()
Definition SpellScript.cpp:401
Definition boss_sindragosa.cpp:838
void RandomResize(C &container, std::size_t requestedSize)
Definition Containers.h:79