*Add assert to try to find the reason of crash.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-17 14:03:18 -06:00
parent c5dfe7dac2
commit 8f22b65443

View File

@@ -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 )