Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist

This commit is contained in:
ariel-
2017-06-10 15:11:35 -03:00
committed by Aokromes
parent e20bc3d4bf
commit e05083ad4b

View File

@@ -1091,7 +1091,8 @@ class spell_sindragosa_s_fury : public SpellScriptLoader
if (Player* player = obj->ToPlayer())
return player->IsGameMaster();
return false;
// remove non-players too
return true;
});
_targetCount = targets.size();