From eb293db02325e23360adca09c60decce2ae2401e Mon Sep 17 00:00:00 2001 From: Pavel Kovalenko Date: Mon, 20 Oct 2014 22:54:19 +0400 Subject: [PATCH] Add weather editor related BUG (AV in CEnvironment::SetGameTime). --- src/xrEngine/Environment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrEngine/Environment.cpp b/src/xrEngine/Environment.cpp index 9f7441de884..aaf95fec54a 100644 --- a/src/xrEngine/Environment.cpp +++ b/src/xrEngine/Environment.cpp @@ -259,7 +259,7 @@ void CEnvironment::ChangeGameTime(float game_time) void CEnvironment::SetGameTime(float game_time, float time_factor) { #ifndef _EDITOR - if (m_paused) + if (m_paused) // BUG nitrocaster: g_pGameLevel may be null (game not started) -> crash { g_pGameLevel->SetEnvironmentGameTimeFactor(iFloor(fGameTime*1000.f), fTimeFactor); return;