Fixed bug with chunk timestamp not being updated.

This commit is contained in:
David Williams 2015-03-30 15:36:28 +02:00
parent b415e5c5f3
commit 5847219331

View File

@ -282,6 +282,7 @@ namespace PolyVox
// The chunk was found so we can use it.
pChunk = itChunk->second.get();
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.