From 851ee6a27f525f7ef86ab689450c824ace0d7fcc Mon Sep 17 00:00:00 2001 From: Mattes D Date: Fri, 27 Nov 2015 12:44:42 +0100 Subject: Normalized OrePockets generator config names. All INI values use AllInitialCapsStyle, no underscores. --- src/Generating/FinishGen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Generating/FinishGen.cpp') diff --git a/src/Generating/FinishGen.cpp b/src/Generating/FinishGen.cpp index 6e833ad6d..27ff6255f 100644 --- a/src/Generating/FinishGen.cpp +++ b/src/Generating/FinishGen.cpp @@ -1649,7 +1649,7 @@ void cFinishGenOreNests::GenerateOre( bool cFinishGenOrePockets::Initialize(cIniFile & a_IniFile, const AString & a_GenName) { // Read the OreInfos configuration: - auto valueName = a_GenName + "_blocks"; + auto valueName = a_GenName + "Blocks"; auto pocketCfg = a_IniFile.GetValue("Generator", valueName, ""); if (pocketCfg.empty()) { @@ -1662,7 +1662,7 @@ bool cFinishGenOrePockets::Initialize(cIniFile & a_IniFile, const AString & a_Ge } // Read the optional seed configuration (but do not store the default): - valueName = a_GenName + "_seed"; + valueName = a_GenName + "Seed"; SetSeed(a_IniFile.GetValueI("Generator", valueName, m_Noise.GetSeed())); return true; -- cgit v1.2.3