summaryrefslogtreecommitdiffstats
path: root/source/Generating/ChunkGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Generating/ChunkGenerator.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Generating/ChunkGenerator.cpp b/source/Generating/ChunkGenerator.cpp
index 7da7af69d..a4717380d 100644
--- a/source/Generating/ChunkGenerator.cpp
+++ b/source/Generating/ChunkGenerator.cpp
@@ -8,6 +8,7 @@
#include "../PluginManager.h"
#include "ChunkDesc.h"
#include "ComposableGenerator.h"
+#include "Noise3DGenerator.h"
@@ -53,9 +54,9 @@ bool cChunkGenerator::Start(cWorld * a_World, cIniFile & a_IniFile)
m_Seed = a_IniFile.GetValueSetI("Seed", "Seed", rnd.randInt());
AString GeneratorName = a_IniFile.GetValueSet("Generator", "Generator", "Composable");
- if (NoCaseCompare(GeneratorName, "RoughHills") == 0)
+ if (NoCaseCompare(GeneratorName, "Noise3D") == 0)
{
- // TODO
+ m_Generator = new cNoise3DGenerator(*this);
}
else
{