Fixed ChunkStay initialization.
This commit is contained in:
parent
a4bf44858d
commit
7432d2f74d
@ -84,9 +84,9 @@ void cChunkStay::Enable(cChunkMap & a_ChunkMap)
|
|||||||
{
|
{
|
||||||
ASSERT(m_ChunkMap == NULL);
|
ASSERT(m_ChunkMap == NULL);
|
||||||
|
|
||||||
|
m_OutstandingChunks = m_Chunks;
|
||||||
m_ChunkMap = &a_ChunkMap;
|
m_ChunkMap = &a_ChunkMap;
|
||||||
a_ChunkMap.AddChunkStay(*this);
|
a_ChunkMap.AddChunkStay(*this);
|
||||||
m_OutstandingChunks = m_Chunks;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user