summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-31 23:45:01 +0200
committerMattes D <github@xoft.cz>2014-07-31 23:45:01 +0200
commita9317ac3720de6ed577049ecda161d7bef23ad8a (patch)
tree4e5060f98c1bae25eb4af21dce99d95b9f24040e /src/World.cpp
parentMerge pull request #1271 from Howaner/GlobalFixes (diff)
parentCapitalised "incremental" (diff)
downloadcuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar.gz
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar.bz2
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar.lz
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar.xz
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.tar.zst
cuberite-a9317ac3720de6ed577049ecda161d7bef23ad8a.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 348498693..7500b163d 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -3176,17 +3176,17 @@ void cWorld::SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicke
cRedstoneSimulator * cWorld::InitializeRedstoneSimulator(cIniFile & a_IniFile)
{
- AString SimulatorName = a_IniFile.GetValueSet("Physics", "RedstoneSimulator", "");
+ AString SimulatorName = a_IniFile.GetValueSet("Physics", "RedstoneSimulator", "Incremental");
if (SimulatorName.empty())
{
- LOGWARNING("[Physics] RedstoneSimulator not present or empty in %s, using the default of \"incremental\".", GetIniFileName().c_str());
- SimulatorName = "incremental";
+ LOGWARNING("[Physics] RedstoneSimulator not present or empty in %s, using the default of \"Incremental\".", GetIniFileName().c_str());
+ SimulatorName = "Incremental";
}
cRedstoneSimulator * res = NULL;
- if (NoCaseCompare(SimulatorName, "incremental") == 0)
+ if (NoCaseCompare(SimulatorName, "Incremental") == 0)
{
res = new cIncrementalRedstoneSimulator(*this);
}
@@ -3210,7 +3210,7 @@ cFluidSimulator * cWorld::InitializeFluidSimulator(cIniFile & a_IniFile, const c
Printf(SimulatorNameKey, "%sSimulator", a_FluidName);
AString SimulatorSectionName;
Printf(SimulatorSectionName, "%sSimulator", a_FluidName);
- AString SimulatorName = a_IniFile.GetValueSet("Physics", SimulatorNameKey, "");
+ AString SimulatorName = a_IniFile.GetValueSet("Physics", SimulatorNameKey, "Vanilla");
if (SimulatorName.empty())
{
LOGWARNING("[Physics] %s not present or empty in %s, using the default of \"Vanilla\".", SimulatorNameKey.c_str(), GetIniFileName().c_str());