diff options
author | QAston <none@none> | 2009-03-10 00:47:59 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-10 00:47:59 +0100 |
commit | 19af8f62adcf9b76a419ed49fee169733bbfcedf (patch) | |
tree | f5c7b9221aa49aab078e5e8ee7cdeb75dbfd7e9b /src | |
parent | 1fe1d6c094aac00ab5f52dfb36759293d7561b33 (diff) |
*Fix a typo.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.h | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index 249eb4b6762..be95c5245b7 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -271,6 +271,7 @@ class TRINITY_DLL_SPEC Aura bool IsDeathPersistent() const { return m_isDeathPersist; } bool IsRemovedOnShapeLost() const { return m_isRemovedOnShapeLost; } bool IsInUse() const { return m_in_use;} + void CleanupTriggeredSpells(); virtual void Update(uint32 diff); void ApplyModifier(bool apply, bool Real = false); @@ -339,7 +340,6 @@ class TRINITY_DLL_SPEC Aura int32 m_stackAmount; private: - void CleanupTriggeredSpells(); void SetAura(uint32 slot, bool remove) { m_target->SetUInt32Value(UNIT_FIELD_AURA + slot, remove ? 0 : GetId()); } void SetAuraFlag(uint32 slot, bool add); void SetAuraLevel(uint32 slot, uint32 level); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index d8a41165479..bb337ec9d7f 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4746,7 +4746,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode) if (!stack) { // Remove all triggered by aura spells vs unlimited duration - CleanupTriggeredSpells(); + Aur->CleanupTriggeredSpells(); // Remove Linked Auras uint32 id = Aur->GetId(); |