diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-14 12:44:02 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-08-14 12:44:02 +0200 |
commit | 303b1a9c45cb74a656c9a099d669c89b92e74098 (patch) | |
tree | 06e472545ade2601edd300d8160dce1900b0084f /source/Generating/ComposableGenerator.cpp | |
parent | YET ANOTHER ERROR >:( (diff) | |
download | cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar.gz cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar.bz2 cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar.lz cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar.xz cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.tar.zst cuberite-303b1a9c45cb74a656c9a099d669c89b92e74098.zip |
Diffstat (limited to 'source/Generating/ComposableGenerator.cpp')
-rw-r--r-- | source/Generating/ComposableGenerator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Generating/ComposableGenerator.cpp b/source/Generating/ComposableGenerator.cpp index 8763e2809..94f822420 100644 --- a/source/Generating/ComposableGenerator.cpp +++ b/source/Generating/ComposableGenerator.cpp @@ -147,7 +147,7 @@ void cComposableGenerator::DoGenerate(int a_ChunkX, int a_ChunkZ, cChunkDesc & a void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile) { - AString BiomeGenName = a_IniFile.GetValueSet("Generator", "BiomeGen", ""); + AString BiomeGenName = a_IniFile.GetValueSet("Generator", "BiomeGen", "MultiStepMap"); if (BiomeGenName.empty()) { LOGWARN("[Generator]::BiomeGen value not found in world.ini, using \"MultiStepMap\"."); @@ -220,7 +220,7 @@ void cComposableGenerator::InitBiomeGen(cIniFile & a_IniFile) void cComposableGenerator::InitHeightGen(cIniFile & a_IniFile) { - AString HeightGenName = a_IniFile.GetValueSet("Generator", "HeightGen", ""); + AString HeightGenName = a_IniFile.GetValueSet("Generator", "HeightGen", "Biomal"); if (HeightGenName.empty()) { LOGWARN("[Generator]::HeightGen value not found in world.ini, using \"Biomal\"."); @@ -306,7 +306,7 @@ void cComposableGenerator::InitHeightGen(cIniFile & a_IniFile) void cComposableGenerator::InitCompositionGen(cIniFile & a_IniFile) { - AString CompoGenName = a_IniFile.GetValueSet("Generator", "CompositionGen", ""); + AString CompoGenName = a_IniFile.GetValueSet("Generator", "CompositionGen", "Biomal"); if (CompoGenName.empty()) { LOGWARN("[Generator]::CompositionGen value not found in world.ini, using \"Biomal\"."); |