Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist
(cherry picked from commit b3336cf9433f14dbcc2e9a7eecb4062a936401b2)
This commit is contained in:
@@ -1095,7 +1095,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();
|
||||
|
||||
Reference in New Issue
Block a user