diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-03 21:16:09 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-03 21:16:09 +0200 |
commit | 358e74ded82c12f49483b4c2adc50c2d1d043051 (patch) | |
tree | c1ca3bdd4405fd63a818df01e395af5ef195bf7a /source/cChunkGenerator.cpp | |
parent | Temporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore. (diff) | |
download | cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar.gz cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar.bz2 cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar.lz cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar.xz cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.tar.zst cuberite-358e74ded82c12f49483b4c2adc50c2d1d043051.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cChunkGenerator.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/cChunkGenerator.cpp b/source/cChunkGenerator.cpp index e323ed549..717fa594c 100644 --- a/source/cChunkGenerator.cpp +++ b/source/cChunkGenerator.cpp @@ -328,7 +328,7 @@ void cChunkGenerator::InitStructureGens(cIniFile & a_IniFile) void cChunkGenerator::InitFinishGens(cIniFile & a_IniFile) { - AString Structures = a_IniFile.GetValueSet("Generator", "Finishers", "SprinkleFoliage,Ice,Snow"); + AString Structures = a_IniFile.GetValueSet("Generator", "Finishers", "SprinkleFoliage,Ice,Snow,Lilypads"); AStringVector Str = StringSplit(Structures, ","); for (AStringVector::const_iterator itr = Str.begin(); itr != Str.end(); ++itr) @@ -345,6 +345,10 @@ void cChunkGenerator::InitFinishGens(cIniFile & a_IniFile) { m_FinishGens.push_back(new cFinishGenIce); } + else if (NoCaseCompare(*itr, "Lilypads") == 0) + { + m_FinishGens.push_back(new cFinishGenLilypads(m_Seed)); + } } // for itr - Str[] } |