summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-14 23:26:15 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-14 23:26:15 +0200
commitd4f8a057ddfef83d364f3fd6557b8159f5b38390 (patch)
tree0c82254c770e8287b64de674b9f3120a927fb723 /source/World.cpp
parentOkay, changed to xoft's partial fix (diff)
downloadcuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar.gz
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar.bz2
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar.lz
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar.xz
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.tar.zst
cuberite-d4f8a057ddfef83d364f3fd6557b8159f5b38390.zip
Diffstat (limited to '')
-rw-r--r--source/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 77bfc0e2f..f2b353d32 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -2476,10 +2476,10 @@ 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, "Floody");
+ AString SimulatorName = a_IniFile.GetValueSet("Physics", SimulatorNameKey, "");
if (SimulatorName.empty())
{
- LOGWARNING("%s [Physics]:%s not present or empty, using the default of \"Floody\".", GetIniFileName().c_str(), SimulatorNameKey.c_str());
+ LOGWARNING("[Physics] %s not present or empty in %s, using the default of \"Floody\".", SimulatorNameKey.c_str(), GetIniFileName().c_str());
SimulatorName = "Floody";
}