mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19: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();
|
ObjectGuid guid = *m_guardianPets.begin();
|
||||||
|
|
||||||
if (Pet* pet = GetMap()->GetPet(guid))
|
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);
|
m_guardianPets.erase(guid);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11492"
|
#define REVISION_NR "11493"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue