summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-01 22:52:40 +0100
committerMattes D <github@xoft.cz>2015-03-01 22:52:40 +0100
commit7767af9493fca6a04a1fae45679a471960fcbe99 (patch)
tree6e5ea976a849843eaec3463dc55f0f930a5e8ba0 /src/Generating/ComposableGenerator.cpp
parentMerge pull request #1780 from DevToaster/master (diff)
parentRemoved trailing whitespace (diff)
downloadcuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar.gz
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar.bz2
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar.lz
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar.xz
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.tar.zst
cuberite-7767af9493fca6a04a1fae45679a471960fcbe99.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index bda45ad92..4a670b064 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -616,6 +616,11 @@ 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)
+ {
+ int Level = a_IniFile.GetValueSetI("Generator", "VinesLevel", 40);
+ m_FinishGens.push_back(std::make_shared<cFinishGenVines>(Seed, Level));
+ }
else if (NoCaseCompare(*itr, "WaterLakes") == 0)
{
int Probability = a_IniFile.GetValueSetI("Generator", "WaterLakesProbability", 25);