Timer, main

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

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