diff options
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(); |