diff options
author | NiLSPACE <NiLSPACE@users.noreply.github.com> | 2015-04-19 20:23:15 +0200 |
---|---|---|
committer | NiLSPACE <NiLSPACE@users.noreply.github.com> | 2015-04-19 20:23:15 +0200 |
commit | 3056e6d324d807887d19cd713d02476915bde9bc (patch) | |
tree | 394ae86d32e546802e0115ba13be0d99f131cac9 /src/Generating/ComposableGenerator.cpp | |
parent | Merge pull request #1875 from mc-server/PluginFolders (diff) | |
parent | GlowStone: Changed order of initialization of member variables (diff) | |
download | cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar.gz cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar.bz2 cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar.lz cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar.xz cuberite-3056e6d324d807887d19cd713d02476915bde9bc.tar.zst cuberite-3056e6d324d807887d19cd713d02476915bde9bc.zip |
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r-- | src/Generating/ComposableGenerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp index 4a670b064..846e6fe12 100644 --- a/src/Generating/ComposableGenerator.cpp +++ b/src/Generating/ComposableGenerator.cpp @@ -347,6 +347,10 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile) AString HeightDistrib = a_IniFile.GetValueSet ("Generator", "DungeonRoomsHeightDistrib", "0, 0; 10, 10; 11, 500; 40, 500; 60, 40; 90, 1"); m_FinishGens.push_back(cFinishGenPtr(new cDungeonRoomsFinisher(m_ShapeGen, Seed, GridSize, MaxSize, MinSize, HeightDistrib))); } + else if (NoCaseCompare(*itr, "GlowStone") == 0) + { + m_FinishGens.push_back(cFinishGenPtr(new cFinishGenGlowStone(Seed))); + } else if (NoCaseCompare(*itr, "Ice") == 0) { m_FinishGens.push_back(cFinishGenPtr(new cFinishGenIce)); |