summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorDayBr3ak <benj.groeneveld@gmail.com>2014-09-01 22:33:58 +0200
committerDayBr3ak <benj.groeneveld@gmail.com>2014-09-02 01:13:19 +0200
commit77409d47eb98eb691f852728cd8e013d0fc14185 (patch)
tree9ce150da93768cbc14993e77e55bbc398df56881 /src/Generating/ComposableGenerator.cpp
parentadded multicache class definition (diff)
downloadcuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.gz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.bz2
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.lz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.xz
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.tar.zst
cuberite-77409d47eb98eb691f852728cd8e013d0fc14185.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 6f4007d24..057d7accf 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -241,7 +241,7 @@ void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile)
}
LOGD("Using a cache for biomegen of size %d.", CacheSize);
m_UnderlyingBiomeGen = m_BiomeGen;
- m_BiomeGen = new cBioGenCache(m_UnderlyingBiomeGen, CacheSize);
+ m_BiomeGen = new cBioGenMulticache(m_UnderlyingBiomeGen, CacheSize, 4);
}
}