summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp
diff options
context:
space:
mode:
authorDayBr3ak <benj.groeneveld@gmail.com>2014-09-03 02:53:21 +0200
committerDayBr3ak <benj.groeneveld@gmail.com>2014-09-03 02:53:21 +0200
commit5a608dc2794aa83ab687db5ae692c2d702729668 (patch)
treeb7f9598eac94694d92988e9bcc538dfbdfb1e787 /src/Generating/BioGen.cpp
parentforgot this one (diff)
downloadcuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.gz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.bz2
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.lz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.xz
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.tar.zst
cuberite-5a608dc2794aa83ab687db5ae692c2d702729668.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/BioGen.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp
index 69af5c79a..46516b327 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -212,11 +212,12 @@ void cBioGenCache::InitializeBiomeGen(cIniFile & a_IniFile)
// cBioGenMulticache:
cBioGenMulticache::cBioGenMulticache(cBiomeGen * a_BioGenToCache, size_t a_CacheSize, size_t a_CachesLength) :
-m_CachesLength(a_CachesLength),
-m_InternalCacheLength(a_CachesLength * a_CacheSize)
+ m_CachesLength(a_CachesLength),
+ m_InternalCacheLength(a_CachesLength * a_CacheSize)
{
m_Caches.reserve(m_InternalCacheLength);
- for (size_t i = 0; i < m_InternalCacheLength; i++) {
+ for (size_t i = 0; i < m_InternalCacheLength; i++)
+ {
m_Caches.push_back(new cBioGenCache(a_BioGenToCache, a_CacheSize));
}
}