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.
2 parents 6266009 + 4d9239e commit 8503c3bCopy full SHA for 8503c3b
1 file changed
GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp
@@ -786,7 +786,11 @@ void GameClient::update()
786
787
#if defined(GENERALS_ONLINE_HIGH_FPS_RENDER)
788
int64_t currTime = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::utc_clock::now().time_since_epoch()).count();
789
- m_legacyFrameMSAccured += currTime - m_LegacyFrameEndLastFrame;
+
790
+ if (!freezeTime)
791
+ {
792
+ m_legacyFrameMSAccured += currTime - m_LegacyFrameEndLastFrame;
793
+ }
794
m_LegacyFrameEndLastFrame = currTime;
795
796
// TODO_NGMP: This should really use partial frame intervals instead of a fixed 60hz update
0 commit comments