aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.h
diff options
context:
space:
mode:
authorQAston <none@none>2010-01-10 20:09:44 +0100
committerQAston <none@none>2010-01-10 20:09:44 +0100
commitef24d90472d979697d234a54510320edcdc9ae61 (patch)
treefbf9b20183ae2e95c3c090bb8e5332296e4cadcf /src/game/SpellAuras.h
parent4bd6d06e26e6d09297139ce08abcc5225c430e1b (diff)
* Make sure that aura is applied on unit before trying to remove it.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r--src/game/SpellAuras.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h
index 309e646edcc..9dbe3aec84d 100644
--- a/src/game/SpellAuras.h
+++ b/src/game/SpellAuras.h
@@ -157,10 +157,6 @@ class TRINITY_DLL_SPEC Aura
AuraApplication * GetApplicationOfTarget (uint64 const & guid) { ApplicationMap::iterator itr = m_applications.find(guid); if (itr != m_applications.end()) return itr->second; return NULL; }
bool IsAppliedOnTarget (uint64 const & guid) const { return m_applications.find(guid) != m_applications.end(); }
- bool IsPositive(Unit * const target) const { return (GetApplicationOfTarget(target->GetGUID()))->IsPositive(); }
- bool GetEffectMask(Unit * const target) const { return (GetApplicationOfTarget(target->GetGUID()))->GetEffectMask(); }
- uint8 GetSlot(Unit * const target) const { return (GetApplicationOfTarget(target->GetGUID()))->GetSlot(); }
- bool HasEffect(Unit * const target, uint8 eff) const { return (GetApplicationOfTarget(target->GetGUID()))->HasEffect(eff); }
void SetNeedClientUpdateForTargets() const;
void HandleAuraSpecificMods(AuraApplication const * aurApp, Unit * caster, bool apply);
private: