summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-22 21:40:32 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-22 21:40:32 +0100
commit3de5480191d02eb5fd919cbe5929cf04255ca086 (patch)
tree7333f0de25281c1f3003c9bc014d8baa2e3419c7 /source
parentAdded some asserts to trace a bug (diff)
downloadcuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar.gz
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar.bz2
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar.lz
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar.xz
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.tar.zst
cuberite-3de5480191d02eb5fd919cbe5929cf04255ca086.zip
Diffstat (limited to 'source')
-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;