aboutsummaryrefslogtreecommitdiff
path: root/src/game/Pet.cpp
diff options
context:
space:
mode:
authorclick <none@none>2010-04-14 22:21:25 +0200
committerclick <none@none>2010-04-14 22:21:25 +0200
commitcc262e1cde544eb7cf643df79fa00c9f34af4785 (patch)
treea77c0df7c1e49ce12889368c449c98045fcd5b16 /src/game/Pet.cpp
parentc81451ebe5a563fb17330d4c8fcdb79752cbd4b8 (diff)
Fix IsPetAura() so it's actually working properly - typos ftw.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Pet.cpp')
-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;