mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
Avoid reset loop on boss nalorakk
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user