Avoid reset loop on boss nalorakk
This commit is contained in:
parent
6f933d1385
commit
a43af57806
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ class boss_nalorakk : public CreatureScript
|
|||
return;
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue