diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp index 6fc60bdba0..d333b6e38f 100755 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp @@ -1238,6 +1238,9 @@ class spell_deathbringer_boiling_blood : public SpellScriptLoader void FilterTargets(std::list& unitList) { unitList.remove(GetCaster()->getVictim()); + if (unitList.empty()) + return; + std::list::iterator itr = unitList.begin(); std::advance(itr, urand(0, unitList.size() - 1)); Unit* target = *itr;