summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-03-01 20:06:44 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2015-03-01 20:06:44 +0100
commite63f9bdc1a2cdb32e5e49fe325d3bad7317b5418 (patch)
tree7594faeeef49e1dd0d3565268bd62f62b1a4cb5a /src/Generating/ComposableGenerator.cpp
parentMade the minimum vine level configurable (diff)
downloadcuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar.gz
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar.bz2
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar.lz
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar.xz
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.tar.zst
cuberite-e63f9bdc1a2cdb32e5e49fe325d3bad7317b5418.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-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 42a805760..4a670b064 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -619,7 +619,7 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
else if (NoCaseCompare(*itr, "Vines") == 0)
{
int Level = a_IniFile.GetValueSetI("Generator", "VinesLevel", 40);
- m_FinishGens.push_back(cFinishGenPtr(new cFinishGenVines(Seed, Level)));
+ m_FinishGens.push_back(std::make_shared<cFinishGenVines>(Seed, Level));
}
else if (NoCaseCompare(*itr, "WaterLakes") == 0)
{