1
0

ChunkStay must be disabled while being deleted.

Fixes #758.
This commit is contained in:
madmaxoft
2014-04-12 22:35:04 +02:00
parent 75b7244f05
commit 34cf058b02
3 changed files with 6 additions and 4 deletions

View File

@@ -31,10 +31,7 @@ cChunkStay::~cChunkStay()
void cChunkStay::Clear(void)
{
if (m_ChunkMap != NULL)
{
Disable();
}
ASSERT(m_ChunkMap == NULL);
m_Chunks.clear();
}