diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2015-02-28 22:37:33 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2015-02-28 22:37:33 +0100 |
commit | 19d7ec51a0a4cb70d5f1e4a62fcf3e944e072a5d (patch) | |
tree | 273cef95f3c52e462dc5e196f79d2279b1df4d23 /src/Generating/ComposableGenerator.cpp | |
parent | Merge pull request #1769 from mc-server/snowweather (diff) | |
download | cuberite-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.cpp | 4 |
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); |