diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 741805772..50c3ce29e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -197,7 +197,7 @@ void Unit::Update( uint32 p_time ) m_Events.Update( p_time ); _UpdateSpells( p_time ); - CleanupDeletedAuars(); + CleanupDeletedAuras(); if (m_lastManaUseTimer) { @@ -11422,7 +11422,7 @@ void Unit::RemoveFromWorld() RemoveGuardians(); RemoveAllGameObjects(); RemoveAllDynObjects(); - CleanupDeletedAuars(); + CleanupDeletedAuras(); } Object::RemoveFromWorld(); @@ -13067,7 +13067,7 @@ void Unit::StopAttackFaction(uint32 faction_id) guardian->StopAttackFaction(faction_id); } -void Unit::CleanupDeletedAuars() +void Unit::CleanupDeletedAuras() { // really delete auras "deleted" while processing its ApplyModify code for(AuraList::const_iterator itr = m_deletedAuras.begin(); itr != m_deletedAuras.end(); ++itr) diff --git a/src/game/Unit.h b/src/game/Unit.h index 669916759..81b84dc33 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1624,7 +1624,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject uint32 m_lastManaUseTimer; private: - void CleanupDeletedAuars(); + void CleanupDeletedAuras(); bool IsTriggeredAtSpellProcEvent(Unit *pVictim, Aura* aura, SpellEntry const* procSpell, uint32 procFlag, uint32 procExtra, WeaponAttackType attType, bool isVictim, bool active, SpellProcEventEntry const*& spellProcEvent ); bool HandleDummyAuraProc( Unit *pVictim, uint32 damage, Aura* triggredByAura, SpellEntry const *procSpell, uint32 procFlag, uint32 procEx, uint32 cooldown); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d85161e46..f286a4c0c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9035" + #define REVISION_NR "9036" #endif // __REVISION_NR_H__