Added some asserts to trace a bug
git-svn-id: http://mc-server.googlecode.com/svn/trunk@319 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -60,7 +60,7 @@ cEntity::~cEntity()
|
||||
|
||||
if( !m_bDestroyed || !m_bRemovedFromChunk )
|
||||
{
|
||||
LOGERROR("ERROR: Entity deallocated without being destroyed %i or unlinked %i", m_bDestroyed, m_bRemovedFromChunk );
|
||||
ASSERT(!"Entity deallocated without being destroyed %i or unlinked %i", m_bDestroyed, m_bRemovedFromChunk );
|
||||
}
|
||||
delete m_Referencers;
|
||||
delete m_References;
|
||||
|
||||
Reference in New Issue
Block a user