mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
Fix IsPetAura() so it's actually working properly - typos ftw.
--HG-- branch : trunk
This commit is contained in:
@@ -1950,7 +1950,7 @@ bool Pet::IsPetAura(Aura const* aura)
|
||||
PetAura const* pa = spellmgr.GetPetAura(aura->GetId(),i);
|
||||
|
||||
// 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 false;
|
||||
|
||||
Reference in New Issue
Block a user