mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[11493] Add comment for prev. commit
This commit is contained in:
parent
05cfb8d36b
commit
d001ce2d2e
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue