summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-02-28 22:37:33 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2015-02-28 22:37:33 +0100
commit19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d (patch)
tree273cef95f3c52e462dc5e196f79d2279b1df4d23 /src/Generating/ComposableGenerator.cpp
parentMerge pull request #1769 from mc-server/snowweather (diff)
downloadcuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar.gz
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar.bz2
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar.lz
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar.xz
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.tar.zst
cuberite-19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d.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 bda45ad92..09c1c3949 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -616,6 +616,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
int MaxDensity = a_IniFile.GetValueSetI("Generator", "VillageMaxDensity", 80);
m_FinishGens.push_back(std::make_shared<cVillageGen>(Seed, GridSize, MaxOffset, MaxDepth, MaxSize, MinDensity, MaxDensity, m_BiomeGen, m_CompositedHeightCache));
}
+ else if (NoCaseCompare(*itr, "Vines") == 0)
+ {
+ m_FinishGens.push_back(cFinishGenPtr(new cFinishGenVines(Seed)));
+ }
else if (NoCaseCompare(*itr, "WaterLakes") == 0)
{
int Probability = a_IniFile.GetValueSetI("Generator", "WaterLakesProbability", 25);