Fix IsPetAura() so it's actually working properly - typos ftw.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -1950,7 +1950,7 @@ bool Pet::IsPetAura(Aura const* aura)
|
|||||||
PetAura const* pa = spellmgr.GetPetAura(aura->GetId(),i);
|
PetAura const* pa = spellmgr.GetPetAura(aura->GetId(),i);
|
||||||
|
|
||||||
// if the owner has that pet aura, return true
|
// if the owner has that pet aura, return true
|
||||||
if (owner->m_petAuras.find(pa) != m_petAuras.end())
|
if (owner->m_petAuras.find(pa) != owner->m_petAuras.end())
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user