diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 11:03:38 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-10 11:03:38 +0300 |
commit | 917fa80c18e83172040870d1a1cf613b51cf628c (patch) | |
tree | 8ccea8ca56da8062790571cced8d3609b367b6cb /src/core/Timer.cpp | |
parent | 6b06ee21ad1544f2fae5473b88a67b98ff9038e3 (diff) |
record init
Diffstat (limited to 'src/core/Timer.cpp')
-rw-r--r-- | src/core/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp index 18d6b6a3..3cd6862c 100644 --- a/src/core/Timer.cpp +++ b/src/core/Timer.cpp @@ -130,7 +130,7 @@ void CTimer::Update(void) ms_fTimeStepNonClipped = ms_fTimeStep; - if ( CRecordDataForGame::RecordingState != RECORDSTATE_2 ) + if ( !CRecordDataForGame::IsPlayingBack() ) { ms_fTimeStep = min(3.0f, ms_fTimeStep); |