summaryrefslogtreecommitdiffstats
path: root/src/Generating/ComposableGenerator.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-07-30 13:06:48 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-07-30 13:06:48 +0200
commit75b7c3775528ced647eb5d7db3437d2856e01e7e (patch)
treea95287760ecf9f14bea09fed86cbc024be0937b2 /src/Generating/ComposableGenerator.cpp
parentMerged branch 'howaner/Options'. (diff)
downloadcuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar.gz
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar.bz2
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar.lz
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar.xz
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.tar.zst
cuberite-75b7c3775528ced647eb5d7db3437d2856e01e7e.zip
Diffstat (limited to '')
-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)
{