[7781] Fixed typo in my prev. commit.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-05-05 23:48:03 +02:00
parent e8d8b1a888
commit cf4884b03a
2 changed files with 2 additions and 2 deletions

View file

@ -16196,7 +16196,7 @@ bool Player::HasGuardianWithEntry(uint32 entry)
for(GuardianPetList::const_iterator itr = m_guardianPets.begin(); itr != m_guardianPets.end(); ++itr)
{
if(Pet* pet = ObjectAccessor::GetPet(*itr))
if (Pet->GetEntry() == entry)
if (pet->GetEntry() == entry)
return true;
}