summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-09-09 13:18:20 +0200
committerworktycho <work.tycho@gmail.com>2014-09-09 13:18:20 +0200
commit1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de (patch)
treeb08c02bcf3d73164a30a6964d84d0996afb613ae
parentuse the correct ASSERT (diff)
downloadcuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar.gz
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar.bz2
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar.lz
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar.xz
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.tar.zst
cuberite-1f0b6eeaf3cfff3e6bc27bf5f3a83be60722a3de.zip
-rw-r--r--src/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index b7045c7f4..fdc0aebad 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -3329,6 +3329,7 @@ cFluidSimulator * cWorld::InitializeFluidSimulator(cIniFile & a_IniFile, const c
if ((Falloff > 15) || (Falloff < 0))
{
LOGWARNING("Falloff for %s simulator is out of range, assuming default of %d", a_FluidName, IsWater ? 1 : 2);
+ Falloff = IsWater ? 1 : 2;
}
if (NoCaseCompare(SimulatorName, "floody") == 0)