aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Pet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 3e18f1f5480..1f15cab5142 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -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;