summaryrefslogtreecommitdiffstats
path: root/source/Generating/HeiGen.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:27:08 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-05 18:27:08 +0200
commit270560a198db49464a5a5a6d75d9650a30208bc7 (patch)
treea1ab9162becfd1b0888a0beb359d09edb228093f /source/Generating/HeiGen.cpp
parentLighting: Fixed underwater lighting (FS #369) (diff)
downloadcuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.gz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.bz2
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.lz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.xz
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.tar.zst
cuberite-270560a198db49464a5a5a6d75d9650a30208bc7.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/HeiGen.cpp2
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++)
{