mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
*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();
|
||||
|
||||
if(m_charmInfo) delete m_charmInfo;
|
||||
|
||||
RemoveAllAuras();
|
||||
assert(m_Auras.begin() == m_Auras.end());
|
||||
}
|
||||
|
||||
void Unit::Update( uint32 p_time )
|
||||
|
||||
Reference in New Issue
Block a user