diff options
| author | megamage <none@none> | 2009-03-25 16:00:38 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-25 16:00:38 -0600 |
| commit | 312b8e5b73fc469ec735ddc4ce0507f72805bd19 (patch) | |
| tree | 9d5c762f14bc4f188734ebba00686e6648b3ae1f /src/game/Unit.cpp | |
| parent | 53cce67b29dcddd5cf957317f57d54e857706e4a (diff) | |
| parent | 581ae2719d1639d063a812901ff4b0983169cde7 (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index e677af70ee4..c32004d647e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -187,22 +187,6 @@ Unit::~Unit() RemoveAllDynObjects(); if(m_charmInfo) delete m_charmInfo; - - if(m_uint32Values) - { - sLog.outDetail("Deconstruct Unit Entry = %u", GetEntry()); - /*for(int i = 0; i < TOTAL_AURAS; ++i) - { - if(m_modAuras[i].begin() != m_modAuras[i].end()) - sLog.outError("Unit %u has mod auras during deconstruction", GetEntry()); - } - if(m_scAuras.begin() != m_scAuras.end()) - sLog.outError("Unit %u has sc auras during deconstruction", GetEntry()); - if(m_interruptableAuras.begin() != m_interruptableAuras.end()) - sLog.outError("Unit %u has interruptable auras during deconstruction", GetEntry()); - if(m_ccAuras.begin() != m_ccAuras.end()) - sLog.outError("Unit %u has cc auras during deconstruction", GetEntry());*/ - } } void Unit::Update( uint32 p_time ) @@ -11309,9 +11293,8 @@ void Unit::RemoveFromWorld() sLog.outError("Unit %u has charmer guid when removed from world", GetEntry()); if(GetOwnerGUID()); sLog.outError("Unit %u has owner guid when removed from world", GetEntry());*/ + WorldObject::RemoveFromWorld(); } - - WorldObject::RemoveFromWorld(); } void Unit::CleanupsBeforeDelete() |
