summaryrefslogtreecommitdiffstats
path: root/source/Generating/ChunkGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Generating/ChunkGenerator.cpp')
-rw-r--r--source/Generating/ChunkGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Generating/ChunkGenerator.cpp b/source/Generating/ChunkGenerator.cpp
index c6975ae0d..8af4f7be7 100644
--- a/source/Generating/ChunkGenerator.cpp
+++ b/source/Generating/ChunkGenerator.cpp
@@ -156,6 +156,11 @@ void cChunkGenerator::InitBiomeGen(cIniFile & a_IniFile)
AString Biomes = a_IniFile.GetValueSet ("Generator", "VoronoiBiomes", "");
m_BiomeGen = new cBioGenVoronoi(m_Seed, CellSize, Biomes);
}
+ else if (NoCaseCompare(BiomeGenName, "multistepmap") == 0)
+ {
+ m_BiomeGen = new cBioGenMultiStepMap(m_Seed);
+ ((cBioGenMultiStepMap *)m_BiomeGen)->Init(a_IniFile);
+ }
else
{
if (NoCaseCompare(BiomeGenName, "distortedvoronoi") != 0)