diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-31 23:11:51 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-31 23:11:51 +0200 |
commit | cfaef0de386640fcc1729e6574fd481949bb6a3c (patch) | |
tree | 79f1ee34dab7d3ec5cd946f1863a67eaf949314d | |
parent | Added a default value to WaterSimulator, LavaSimulator and RedstoneSimulator. (diff) | |
download | cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar.gz cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar.bz2 cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar.lz cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar.xz cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.tar.zst cuberite-cfaef0de386640fcc1729e6574fd481949bb6a3c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/World.cpp b/src/World.cpp index b247a79bc..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", "incremental"); + 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); } |