We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a788d0 commit f3362ebCopy full SHA for f3362eb
src/xrEngine/engine_impl.cpp
@@ -305,7 +305,7 @@ void engine_impl::weather_time_factor (float const &value_raw)
305
float value = value_raw;
306
clamp (value, .01f, 100000.f);
307
308
- if (g_pGameLevel)
+ if (g_pGameLevel && g_pGamePersistent)
309
g_pGameLevel->SetEnvironmentGameTimeFactor (iFloor(g_pGamePersistent->Environment().GetGameTime()*1000.f), value);
310
311
if (g_pGamePersistent)
0 commit comments