*Add assert to try to find the reason of crash.
--HG-- branch : trunk
This commit is contained in:
@@ -257,6 +257,9 @@ Unit::~Unit()
|
|||||||
RemoveAllDynObjects();
|
RemoveAllDynObjects();
|
||||||
|
|
||||||
if(m_charmInfo) delete m_charmInfo;
|
if(m_charmInfo) delete m_charmInfo;
|
||||||
|
|
||||||
|
RemoveAllAuras();
|
||||||
|
assert(m_Auras.begin() == m_Auras.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unit::Update( uint32 p_time )
|
void Unit::Update( uint32 p_time )
|
||||||
|
|||||||
Reference in New Issue
Block a user