summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-06-23 18:26:39 +0200
committerworktycho <work.tycho@gmail.com>2015-06-23 18:26:39 +0200
commitc0d8a4933e39ecac19fb6edb7e16ae158d5f1c97 (patch)
treedcf7086e1b74af4190ecc06c690f0919f2717831 /src/Generating/ComposableGenerator.cpp
parentMerge pull request #2285 from cuberite/MelonFix (diff)
parentGenerate biomes when pregenerating heights through CompositedHeiGen. (diff)
downloadcuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar.gz
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar.bz2
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar.lz
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar.xz
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.tar.zst
cuberite-c0d8a4933e39ecac19fb6edb7e16ae158d5f1c97.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 2c74340be..4eee8b707 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -274,7 +274,7 @@ void cComposableGenerator::InitCompositionGen(cIniFile & a_IniFile)
}
// Create a cache of the composited heightmaps, so that finishers may use it:
- m_CompositedHeightCache = std::make_shared<cHeiGenMultiCache>(std::make_shared<cCompositedHeiGen>(m_ShapeGen, m_CompositionGen), 16, 24);
+ m_CompositedHeightCache = std::make_shared<cHeiGenMultiCache>(std::make_shared<cCompositedHeiGen>(m_BiomeGen, m_ShapeGen, m_CompositionGen), 16, 24);
// 24 subcaches of depth 16 each = 96 KiB of RAM. Acceptable, for the amount of work this saves.
}