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