summaryrefslogtreecommitdiffstats
path: root/src/Generating/CompoGenBiomal.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-20 22:45:50 +0100
committerMattes D <github@xoft.cz>2014-11-20 22:45:50 +0100
commitb7dd2dddf941d85f348814b21e15907c535e8898 (patch)
treee7ee9a4df1859310d88ffacab66e1fb1e1da0253 /src/Generating/CompoGenBiomal.cpp
parentCompoGenBiomal: Fixed sealevel not generating properly. (diff)
downloadcuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar.gz
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar.bz2
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar.lz
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar.xz
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.tar.zst
cuberite-b7dd2dddf941d85f348814b21e15907c535e8898.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/CompoGenBiomal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/CompoGenBiomal.cpp b/src/Generating/CompoGenBiomal.cpp
index 18bfa8b8c..995851c95 100644
--- a/src/Generating/CompoGenBiomal.cpp
+++ b/src/Generating/CompoGenBiomal.cpp
@@ -221,7 +221,7 @@ protected:
virtual void InitializeCompoGen(cIniFile & a_IniFile) override
{
- m_SeaLevel = a_IniFile.GetValueSetI("Generator", "SeaLevel", m_SeaLevel) - 1;
+ m_SeaLevel = a_IniFile.GetValueSetI("Generator", "SeaLevel", m_SeaLevel);
}