Fixed bug with chunk timestamp not being updated.
This commit is contained in:
parent
b415e5c5f3
commit
5847219331
@ -282,6 +282,7 @@ namespace PolyVox
|
|||||||
// The chunk was found so we can use it.
|
// The chunk was found so we can use it.
|
||||||
pChunk = itChunk->second.get();
|
pChunk = itChunk->second.get();
|
||||||
POLYVOX_ASSERT(pChunk, "Recent chunk list shold never contain a null pointer.");
|
POLYVOX_ASSERT(pChunk, "Recent chunk list shold never contain a null pointer.");
|
||||||
|
pChunk->m_uChunkLastAccessed = ++m_uTimestamper;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we still haven't found the chunk then it's time to create a new one and page it in from disk.
|
// If we still haven't found the chunk then it's time to create a new one and page it in from disk.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user