diff options
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f23f450c201..645ff194eba 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -148,6 +148,7 @@ bool IsPassiveStackableSpell( uint32 spellId ) Unit::Unit() : WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this) +, m_IsInNotifyList(false), m_Notified(false) { m_objectType |= TYPEMASK_UNIT; m_objectTypeId = TYPEID_UNIT; @@ -12562,3 +12563,11 @@ void Unit::RemoveAurasAtChanneledTarget(SpellEntry const* spellInfo) ++iter; } } + +/*-----------------------TRINITY-----------------------------*/ + +void Unit::SetToNotify() +{ + if(Map *map = GetMap()) + map->AddUnitToNotify(this); +}
\ No newline at end of file |