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 67d5d8e commit eb293dbCopy full SHA for eb293db
src/xrEngine/Environment.cpp
@@ -259,7 +259,7 @@ void CEnvironment::ChangeGameTime(float game_time)
259
void CEnvironment::SetGameTime(float game_time, float time_factor)
260
{
261
#ifndef _EDITOR
262
- if (m_paused)
+ if (m_paused) // BUG nitrocaster: g_pGameLevel may be null (game not started) -> crash
263
264
g_pGameLevel->SetEnvironmentGameTimeFactor(iFloor(fGameTime*1000.f), fTimeFactor);
265
return;
0 commit comments