summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-20 16:23:45 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-20 16:23:45 +0200
commit7bf9da74413c69cbd79a9db81ba098e13b847904 (patch)
treee70ab8bf3ac4824cac31ae28e2f77eaa12ecdc33 /src/Generating/ComposableGenerator.cpp
parentPass cItem by reference. (diff)
downloadcuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar.gz
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar.bz2
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar.lz
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar.xz
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.tar.zst
cuberite-7bf9da74413c69cbd79a9db81ba098e13b847904.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 7b6234161..21626e76b 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -338,6 +338,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
float Threshold = (float)a_IniFile.GetValueSetF("Generator", "DualRidgeCavesThreshold", 0.3);
m_FinishGens.push_back(new cStructGenDualRidgeCaves(Seed, Threshold));
}
+ else if (NoCaseCompare(*itr, "Foliage") == 0)
+ {
+ m_FinishGens.push_back(new cFinishGenFoliage(Seed));
+ }
else if (NoCaseCompare(*itr, "Ice") == 0)
{
m_FinishGens.push_back(new cFinishGenIce);