This commit is contained in:
mathusummut
2019-04-05 23:42:19 +02:00
parent daeec74328
commit f038cead1a

View File

@@ -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);