summaryrefslogtreecommitdiffstats
path: root/source/cChunkGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-03 21:16:09 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-03 21:16:09 +0200
commit358e74ded82c12f49483b4c2adc50c2d1d043051 (patch)
treec1ca3bdd4405fd63a818df01e395af5ef195bf7a /source/cChunkGenerator.cpp
parentTemporary jungle trees (swamp-like), based on code by STR_Warrior). Also vines don't overwrite leaves anymore. (diff)
downloadcuberite-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.cpp6
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[]
}