Core/Scripts: remove non-player objects (ie corpses) from Sindragosa's Fury targetlist
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user