diff options
Diffstat (limited to 'source/Generating/HeiGen.cpp')
-rw-r--r-- | source/Generating/HeiGen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Generating/HeiGen.cpp b/source/Generating/HeiGen.cpp index fe69ef926..24042e3ff 100644 --- a/source/Generating/HeiGen.cpp +++ b/source/Generating/HeiGen.cpp @@ -62,11 +62,13 @@ cHeiGenCache::~cHeiGenCache() void cHeiGenCache::GenHeightMap(int a_ChunkX, int a_ChunkZ, cChunkDef::HeightMap & a_HeightMap) { + /* if (((m_NumHits + m_NumMisses) % 1024) == 10) { LOGD("HeiGenCache: %d hits, %d misses, saved %.2f %%", m_NumHits, m_NumMisses, 100.0 * m_NumHits / (m_NumHits + m_NumMisses)); LOGD("HeiGenCache: Avg cache chain length: %.2f", (float)m_TotalChain / m_NumHits); } + //*/ for (int i = 0; i < m_CacheSize; i++) { |