[11493] Add comment for prev. commit

This commit is contained in:
zergtmn 2011-05-16 02:28:57 +06:00
parent 05cfb8d36b
commit d001ce2d2e
2 changed files with 2 additions and 2 deletions

View file

@ -5965,7 +5965,7 @@ void Unit::RemoveGuardians()
ObjectGuid guid = *m_guardianPets.begin();
if (Pet* pet = GetMap()->GetPet(guid))
pet->Unsummon(PET_SAVE_AS_DELETED, this);
pet->Unsummon(PET_SAVE_AS_DELETED, this); // can remove pet guid from m_guardianPets
m_guardianPets.erase(guid);
}