diff options
author | Mattes D <github@xoft.cz> | 2019-09-01 21:47:03 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-06 16:12:33 +0200 |
commit | 878393a03d201061064f8fe02fe6d16f9c2df052 (patch) | |
tree | 77d4e1a83898e3fd0e66a484aa07704632dd063e /src/Generating/ShapeGen.cpp | |
parent | Separated chunk generator from world / plugin interfaces. (diff) | |
download | cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.gz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.bz2 cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.lz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.xz cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.tar.zst cuberite-878393a03d201061064f8fe02fe6d16f9c2df052.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/ShapeGen.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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<cTerrainHeightToShapeGen> 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\"."); |