Fixed crash.
This commit is contained in:
parent
9947425169
commit
1d925a59a1
@ -350,9 +350,9 @@ namespace PolyVox
|
||||
if (m_arrayChunks[uIndex])
|
||||
{
|
||||
uChunkCount++;
|
||||
if (m_arrayChunks[uIndex]->m_uChunkLastAccessed < uOldestChunkIndex)
|
||||
if (m_arrayChunks[uIndex]->m_uChunkLastAccessed < uOldestChunkTimestamp)
|
||||
{
|
||||
uOldestChunkIndex = m_arrayChunks[uIndex]->m_uChunkLastAccessed;
|
||||
uOldestChunkTimestamp = m_arrayChunks[uIndex]->m_uChunkLastAccessed;
|
||||
uOldestChunkIndex = uIndex;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user