From f038cead1a3e3cd7af591a485f4154adb7414fc7 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Fri, 5 Apr 2019 23:42:19 +0200 Subject: [PATCH] Detail --- source/game/world/time_flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/world/time_flow.cpp b/source/game/world/time_flow.cpp index a59da70f5..26c363dc7 100644 --- a/source/game/world/time_flow.cpp +++ b/source/game/world/time_flow.cpp @@ -51,7 +51,7 @@ namespace Game { time = dawn + 1.5f; lastTime = time; Config &config = Config::getInstance(); - timeInc = 24.f * (1.f / config.getFloat("DayTime", "")) / GameConstants::updateFps; + timeInc = 24.f * (1.f / config.getFloat("DayTime", "0")) / GameConstants::updateFps; //printf("#1 timeInc = %f\n",timeInc); if (SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem, "In [%s::%s Line %d] timeInc = %f\n", __FILE__, __FUNCTION__, __LINE__, timeInc);