1
0

Actually set default

This commit is contained in:
worktycho 2014-09-09 12:18:20 +01:00
parent bd810b80a6
commit 1f0b6eeaf3

View File

@ -3329,6 +3329,7 @@ cFluidSimulator * cWorld::InitializeFluidSimulator(cIniFile & a_IniFile, const c
if ((Falloff > 15) || (Falloff < 0)) if ((Falloff > 15) || (Falloff < 0))
{ {
LOGWARNING("Falloff for %s simulator is out of range, assuming default of %d", a_FluidName, IsWater ? 1 : 2); 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) if (NoCaseCompare(SimulatorName, "floody") == 0)