1
0

Fixed ChunkStay initialization.

This commit is contained in:
madmaxoft 2014-02-08 22:23:38 +01:00
parent a4bf44858d
commit 7432d2f74d

View File

@ -84,9 +84,9 @@ void cChunkStay::Enable(cChunkMap & a_ChunkMap)
{
ASSERT(m_ChunkMap == NULL);
m_OutstandingChunks = m_Chunks;
m_ChunkMap = &a_ChunkMap;
a_ChunkMap.AddChunkStay(*this);
m_OutstandingChunks = m_Chunks;
}