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

View file

@ -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__