From 878393a03d201061064f8fe02fe6d16f9c2df052 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 1 Sep 2019 21:47:03 +0200 Subject: Moved the generator defaults to ComposableGenerator. --- src/Generating/ShapeGen.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/Generating/ShapeGen.cpp') diff --git a/src/Generating/ShapeGen.cpp b/src/Generating/ShapeGen.cpp index 2e764a530..20c89e33e 100644 --- a/src/Generating/ShapeGen.cpp +++ b/src/Generating/ShapeGen.cpp @@ -75,9 +75,14 @@ typedef std::shared_ptr cTerrainHeightToShapeGenPtr; //////////////////////////////////////////////////////////////////////////////// // cTerrainShapeGen: -cTerrainShapeGenPtr cTerrainShapeGen::CreateShapeGen(cIniFile & a_IniFile, cBiomeGenPtr a_BiomeGen, int a_Seed, bool & a_CacheOffByDefault) +cTerrainShapeGenPtr cTerrainShapeGen::CreateShapeGen( + cIniFile & a_IniFile, + cBiomeGenPtr a_BiomeGen, + int a_Seed, + bool & a_CacheOffByDefault +) { - AString shapeGenName = a_IniFile.GetValueSet("Generator", "ShapeGen", ""); + AString shapeGenName = a_IniFile.GetValue("Generator", "ShapeGen"); if (shapeGenName.empty()) { LOGWARN("[Generator] ShapeGen value not set in world.ini, using \"BiomalNoise3D\"."); -- cgit v1.2.3