*Fix a typo.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-03-10 00:47:59 +01:00
parent 1fe1d6c094
commit 19af8f62ad
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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();