summaryrefslogtreecommitdiffstats
path: root/src/Generating/CompoGen.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-20 15:31:03 +0100
committerMattes D <github@xoft.cz>2014-11-20 15:31:03 +0100
commit76058e81833b3b7df1c6d85d199e05abde4e8244 (patch)
treea4831b5aaf6af057d8d0f6fe525783b9fd00b466 /src/Generating/CompoGen.cpp
parentNoise3D generators: Changed noise generator to InterpolNoise. (diff)
downloadcuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar.gz
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar.bz2
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar.lz
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar.xz
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.tar.zst
cuberite-76058e81833b3b7df1c6d85d199e05abde4e8244.zip
Diffstat (limited to 'src/Generating/CompoGen.cpp')
-rw-r--r--src/Generating/CompoGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompoGen.cpp b/src/Generating/CompoGen.cpp
index db43e34b6..23cc64d78 100644
--- a/src/Generating/CompoGen.cpp
+++ b/src/Generating/CompoGen.cpp
@@ -197,7 +197,7 @@ void cCompoGenClassic::ComposeTerrain(cChunkDesc & a_ChunkDesc, const cChunkDesc
void cCompoGenClassic::InitializeCompoGen(cIniFile & a_IniFile)
{
- m_SeaLevel = a_IniFile.GetValueSetI("Generator", "ClassicSeaLevel", m_SeaLevel);
+ m_SeaLevel = a_IniFile.GetValueSetI("Generator", "SeaLevel", m_SeaLevel);
m_BeachHeight = a_IniFile.GetValueSetI("Generator", "ClassicBeachHeight", m_BeachHeight);
m_BeachDepth = a_IniFile.GetValueSetI("Generator", "ClassicBeachDepth", m_BeachDepth);
m_BlockTop = (BLOCKTYPE)(GetIniItemSet(a_IniFile, "Generator", "ClassicBlockTop", "grass").m_ItemType);