From 3ca9b52ab28c5ffd4fe2a6e1789ca5320449b7c3 Mon Sep 17 00:00:00 2001 From: faketruth Date: Wed, 22 Feb 2012 20:33:33 +0000 Subject: Added some asserts to trace a bug git-svn-id: http://mc-server.googlecode.com/svn/trunk@319 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/cEntity.cpp') diff --git a/source/cEntity.cpp b/source/cEntity.cpp index 49993c093..9f70adc10 100644 --- a/source/cEntity.cpp +++ b/source/cEntity.cpp @@ -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; -- cgit v1.2.3