Timer, main

This commit is contained in:
erorcun committed 2020-10-23 04:26:52 +03:00
1 parent 1587815fca
commit 08d78fb6ff
3 files changed
+53 -59

No files matched your search

+3 -1
View File
@@ -7,6 +7,8 @@
#include "Timer.h"
#include "SpecialFX.h"
// --MIAMI: file done
uint32 CTimer::m_snTimeInMilliseconds;
PauseModeTime CTimer::m_snTimeInMillisecondsPauseMode = 1;
@@ -96,7 +98,7 @@ void CTimer::Update(void)
_oldPerfCounter = pc;
float updInCyclesScaled = updInCycles * ms_fTimeScale;
float updInCyclesScaled = GetIsPaused() ? updInCycles : updInCyclesScaled * ms_fTimeScale;
// We need that real frame time to fix transparent menu bug.
#ifndef FIX_HIGH_FPS_BUGS_ON_FRONTEND