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