summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-05 22:07:13 +0200
committerMattes D <github@xoft.cz>2014-09-05 22:07:13 +0200
commit60e235362c9662ad01b68141b32f5aae28a2fdfe (patch)
tree61d7e2caecdc0c764c20cec493a792b8e4f0d50e /src/Generating/ComposableGenerator.cpp
parentFixed security: Player cannot spawn in a disabled world. (diff)
downloadcuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.gz
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.bz2
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.lz
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.xz
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.tar.zst
cuberite-60e235362c9662ad01b68141b32f5aae28a2fdfe.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/ComposableGenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index d70438bf3..d98153e22 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -243,12 +243,12 @@ void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile)
}
LOGD("Using a cache for biomegen of size %d.", CacheSize);
m_UnderlyingBiomeGen = m_BiomeGen;
- if (MultiCacheLength > 0)
+ if (MultiCacheLength > 0)
{
LOGD("Enabling multicache for biomegen of length %d.", MultiCacheLength);
m_BiomeGen = new cBioGenMulticache(m_UnderlyingBiomeGen, CacheSize, MultiCacheLength);
}
- else
+ else
{
m_BiomeGen = new cBioGenCache(m_UnderlyingBiomeGen, CacheSize);
}