diff options
author | Mattes D <github@xoft.cz> | 2015-07-07 11:50:06 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-07-07 11:50:06 +0200 |
commit | bebd4de14457fbbc7fd49900cfdc36c8d5efb755 (patch) | |
tree | fb2000f4483f97bda0080ae3e87b6701d37464b9 /src/Generating/BioGen.cpp | |
parent | Merge pull request #2319 from SamJBarney/master (diff) | |
download | cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.gz cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.bz2 cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.lz cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.xz cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.tar.zst cuberite-bebd4de14457fbbc7fd49900cfdc36c8d5efb755.zip |
Diffstat (limited to 'src/Generating/BioGen.cpp')
-rw-r--r-- | src/Generating/BioGen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp index eb9129c60..ee8368b36 100644 --- a/src/Generating/BioGen.cpp +++ b/src/Generating/BioGen.cpp @@ -86,8 +86,8 @@ void cBioGenCache::GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a { if (((m_NumHits + m_NumMisses) % 1024) == 10) { - LOGD("BioGenCache: %d hits, %d misses, saved %.2f %%", m_NumHits, m_NumMisses, 100.0 * m_NumHits / (m_NumHits + m_NumMisses)); - LOGD("BioGenCache: Avg cache chain length: %.2f", (float)m_TotalChain / m_NumHits); + LOGD("BioGenCache: %u hits, %u misses, saved %.2f %%", static_cast<unsigned>(m_NumHits), static_cast<unsigned>(m_NumMisses), 100.0 * m_NumHits / (m_NumHits + m_NumMisses)); + LOGD("BioGenCache: Avg cache chain length: %.2f", static_cast<double>(m_TotalChain) / m_NumHits); } for (size_t i = 0; i < m_CacheSize; i++) |