summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-11 13:03:51 +0100
committermadmaxoft <github@xoft.cz>2014-01-11 13:03:51 +0100
commit37025fca778896d4dee35a8e580d0160e0b3e0db (patch)
tree73c7f42860391666c2bc8eb7fe9aa5117ddd9c3a /src/Generating/ComposableGenerator.cpp
parentFixed cIniFile's SetValue(). (diff)
parentFixed generator adding values to ini file. (diff)
downloadcuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar.gz
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar.bz2
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar.lz
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar.xz
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.tar.zst
cuberite-37025fca778896d4dee35a8e580d0160e0b3e0db.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index 76d06724d..971ff4538 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -90,7 +90,8 @@ cTerrainCompositionGen * cTerrainCompositionGen::CreateCompositionGen(cIniFile &
}
else
{
- LOGWARN("Unknown CompositionGen \"%s\", using \"biomal\" instead.", CompoGenName.c_str());
+ LOGWARN("Unknown CompositionGen \"%s\", using \"Biomal\" instead.", CompoGenName.c_str());
+ a_IniFile.DeleteValue("Generator", "CompositionGen");
a_IniFile.SetValue("Generator", "CompositionGen", "Biomal");
return CreateCompositionGen(a_IniFile, a_BiomeGen, a_HeightGen, a_Seed);
}