Avoid reset loop on boss nalorakk
This commit is contained in:
@@ -173,7 +173,7 @@ class boss_nalorakk : public CreatureScript
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
for (std::list<Creature*>::const_iterator i = templist.begin(); i != templist.end(); ++i)
|
for (std::list<Creature*>::const_iterator i = templist.begin(); i != templist.end(); ++i)
|
||||||
if ((*i) && me->IsWithinDistInMap((*i), 25))
|
if ((*i) && me->GetGUID() != (*i)->GetGUID() && me->IsWithinDistInMap((*i), 25))
|
||||||
(*i)->AI()->Reset();
|
(*i)->AI()->Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user