summaryrefslogtreecommitdiffstats
path: root/src/Generating/Noise3DGenerator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-10 22:22:54 +0100
committermadmaxoft <github@xoft.cz>2014-01-10 22:22:54 +0100
commitcea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8 (patch)
treeb6795602eb6f64625b2734c6e3a302a5374e145d /src/Generating/Noise3DGenerator.cpp
parentFixed generator adding values to ini file. (diff)
downloadcuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar.gz
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar.bz2
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar.lz
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar.xz
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.tar.zst
cuberite-cea997426b7d66f5aa9f8aac5fd5b603bcaa3fb8.zip
Diffstat (limited to 'src/Generating/Noise3DGenerator.cpp')
-rw-r--r--src/Generating/Noise3DGenerator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Generating/Noise3DGenerator.cpp b/src/Generating/Noise3DGenerator.cpp
index 2511bb656..afa40c647 100644
--- a/src/Generating/Noise3DGenerator.cpp
+++ b/src/Generating/Noise3DGenerator.cpp
@@ -150,10 +150,8 @@ cNoise3DGenerator::~cNoise3DGenerator()
-void cNoise3DGenerator::Initialize(cWorld * a_World, cIniFile & a_IniFile)
+void cNoise3DGenerator::Initialize(cIniFile & a_IniFile)
{
- m_World = a_World;
-
// Params:
m_SeaLevel = a_IniFile.GetValueSetI("Generator", "Noise3DSeaLevel", 62);
m_HeightAmplification = (NOISE_DATATYPE)a_IniFile.GetValueSetF("Generator", "Noise3DHeightAmplification", 0);