summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/cEntity.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cEntity.cpp b/source/cEntity.cpp
index 9f70adc10..cb91c2bdc 100644
--- a/source/cEntity.cpp
+++ b/source/cEntity.cpp
@@ -60,7 +60,8 @@ cEntity::~cEntity()
if( !m_bDestroyed || !m_bRemovedFromChunk )
{
- ASSERT(!"Entity deallocated without being destroyed %i or unlinked %i", 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 or unlinked");
}
delete m_Referencers;
delete m_References;