*Fix a typo.
--HG-- branch : trunk
This commit is contained in:
@@ -271,6 +271,7 @@ class TRINITY_DLL_SPEC Aura
|
|||||||
bool IsDeathPersistent() const { return m_isDeathPersist; }
|
bool IsDeathPersistent() const { return m_isDeathPersist; }
|
||||||
bool IsRemovedOnShapeLost() const { return m_isRemovedOnShapeLost; }
|
bool IsRemovedOnShapeLost() const { return m_isRemovedOnShapeLost; }
|
||||||
bool IsInUse() const { return m_in_use;}
|
bool IsInUse() const { return m_in_use;}
|
||||||
|
void CleanupTriggeredSpells();
|
||||||
|
|
||||||
virtual void Update(uint32 diff);
|
virtual void Update(uint32 diff);
|
||||||
void ApplyModifier(bool apply, bool Real = false);
|
void ApplyModifier(bool apply, bool Real = false);
|
||||||
@@ -339,7 +340,6 @@ class TRINITY_DLL_SPEC Aura
|
|||||||
|
|
||||||
int32 m_stackAmount;
|
int32 m_stackAmount;
|
||||||
private:
|
private:
|
||||||
void CleanupTriggeredSpells();
|
|
||||||
void SetAura(uint32 slot, bool remove) { m_target->SetUInt32Value(UNIT_FIELD_AURA + slot, remove ? 0 : GetId()); }
|
void SetAura(uint32 slot, bool remove) { m_target->SetUInt32Value(UNIT_FIELD_AURA + slot, remove ? 0 : GetId()); }
|
||||||
void SetAuraFlag(uint32 slot, bool add);
|
void SetAuraFlag(uint32 slot, bool add);
|
||||||
void SetAuraLevel(uint32 slot, uint32 level);
|
void SetAuraLevel(uint32 slot, uint32 level);
|
||||||
|
|||||||
+1
-1
@@ -4746,7 +4746,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
|
|||||||
if (!stack)
|
if (!stack)
|
||||||
{
|
{
|
||||||
// Remove all triggered by aura spells vs unlimited duration
|
// Remove all triggered by aura spells vs unlimited duration
|
||||||
CleanupTriggeredSpells();
|
Aur->CleanupTriggeredSpells();
|
||||||
|
|
||||||
// Remove Linked Auras
|
// Remove Linked Auras
|
||||||
uint32 id = Aur->GetId();
|
uint32 id = Aur->GetId();
|
||||||
|
|||||||
Reference in New Issue
Block a user