mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10736] Fixed unexpected typo in prev. commit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
876458c6e4
commit
5579471075
2 changed files with 2 additions and 3 deletions
|
|
@ -5911,13 +5911,12 @@ Pet* Unit::FindGuardianWithEntry(uint32 entry)
|
||||||
{
|
{
|
||||||
for(GuardianPetList::const_iterator itr = m_guardianPets.begin(); itr != m_guardianPets.end(); ++itr)
|
for(GuardianPetList::const_iterator itr = m_guardianPets.begin(); itr != m_guardianPets.end(); ++itr)
|
||||||
if(Pet* pet = GetMap()->GetPet(*itr))
|
if(Pet* pet = GetMap()->GetPet(*itr))
|
||||||
if (pet->getPetType() == entry)
|
if (pet->GetEntry() == entry)
|
||||||
return pet;
|
return pet;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Pet* Unit::GetProtectorPet()
|
Pet* Unit::GetProtectorPet()
|
||||||
{
|
{
|
||||||
for(GuardianPetList::const_iterator itr = m_guardianPets.begin(); itr != m_guardianPets.end(); ++itr)
|
for(GuardianPetList::const_iterator itr = m_guardianPets.begin(); itr != m_guardianPets.end(); ++itr)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10735"
|
#define REVISION_NR "10736"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue