summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-30 13:41:02 +0200
committerMattes D <github@xoft.cz>2014-07-30 13:41:02 +0200
commita899dfc26e0990e01669d17beff9114e27cb1327 (patch)
treea95287760ecf9f14bea09fed86cbc024be0937b2 /src/Generating/ComposableGenerator.cpp
parentMerged branch 'howaner/Options'. (diff)
parentPreSimulator: Added configurations. (diff)
downloadcuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar.gz
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar.bz2
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar.lz
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar.xz
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.tar.zst
cuberite-a899dfc26e0990e01669d17beff9114e27cb1327.zip
Diffstat (limited to 'src/Generating/ComposableGenerator.cpp')
-rw-r--r--src/Generating/ComposableGenerator.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Generating/ComposableGenerator.cpp b/src/Generating/ComposableGenerator.cpp
index a7659149a..cedb9aeb7 100644
--- a/src/Generating/ComposableGenerator.cpp
+++ b/src/Generating/ComposableGenerator.cpp
@@ -408,7 +408,12 @@ void cComposableGenerator::InitFinishGens(cIniFile & a_IniFile)
}
else if (NoCaseCompare(*itr, "PreSimulator") == 0)
{
- m_FinishGens.push_back(new cFinishGenPreSimulator);
+ // Load the settings
+ bool PreSimulateFallingBlocks = a_IniFile.GetValueSetB("Generator", "PreSimulatorFallingBlocks", true);
+ bool PreSimulateWater = a_IniFile.GetValueSetB("Generator", "PreSimulatorWater", true);
+ bool PreSimulateLava = a_IniFile.GetValueSetB("Generator", "PreSimulatorLava", true);
+
+ m_FinishGens.push_back(new cFinishGenPreSimulator(PreSimulateFallingBlocks, PreSimulateWater, PreSimulateLava));
}
else if (NoCaseCompare(*itr, "RainbowRoads") == 0)
{