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

This commit is contained in:
ariel- authored and Aokromes committed 2017-06-11 17:50:11 +02:00
1 parent e20bc3d4bf
commit e05083ad4b
1 file changed
+2 -1
@@ -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();