875 {
876 std::list<WorldObject*> healList = unitList;
877 std::list<WorldObject*> dpsList = unitList;
878 unitList.clear();
881 if (healList.size() > maxSize)
884 if (dpsList.size() > maxSize)
886 unitList.splice(unitList.begin(), healList);
887 unitList.splice(unitList.begin(), dpsList);
888 }
std::uint32_t uint32
Definition Define.h:107
Unit * GetCaster()
Definition SpellScript.cpp:401
Definition boss_sindragosa.cpp:844
void RandomResize(C &container, std::size_t requestedSize)
Definition Containers.h:79