Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
This commit is contained in:
1 parent
63c4d2b96e
commit
e050945c91
24 files changed
+95
-97
No files matched your search
@@ -337,7 +337,7 @@ class spell_dk_death_pact : public SpellScriptLoader
|
||||
void FilterTargets(std::list<Unit*>& unitList)
|
||||
{
|
||||
Unit* unit_to_add = NULL;
|
||||
for (std::list<Unit*>::iterator itr = unitList.begin() ; itr != unitList.end(); ++itr)
|
||||
for (std::list<Unit*>::iterator itr = unitList.begin(); itr != unitList.end(); ++itr)
|
||||
{
|
||||
if ((*itr)->GetTypeId() == TYPEID_UNIT
|
||||
&& (*itr)->GetOwnerGUID() == GetCaster()->GetGUID()
|
||||
|
||||
Reference in new issue
Block a user