Avoid reset loop on boss nalorakk

This commit is contained in:
Yehonal
2016-08-24 09:34:31 +02:00
parent 6f933d1385
commit a43af57806

View File

@@ -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();
}