diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-10-09 19:29:38 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-10-09 19:29:38 +0200 |
commit | 881db86895dd5427efd3962909214be06270e1ab (patch) | |
tree | f86b91e5f1497701991eba2dffc116bd4547d6df /src/core/Timer.cpp | |
parent | Merge pull request #750 from erorcun/miami (diff) | |
download | re3-881db86895dd5427efd3962909214be06270e1ab.tar re3-881db86895dd5427efd3962909214be06270e1ab.tar.gz re3-881db86895dd5427efd3962909214be06270e1ab.tar.bz2 re3-881db86895dd5427efd3962909214be06270e1ab.tar.lz re3-881db86895dd5427efd3962909214be06270e1ab.tar.xz re3-881db86895dd5427efd3962909214be06270e1ab.tar.zst re3-881db86895dd5427efd3962909214be06270e1ab.zip |
Diffstat (limited to 'src/core/Timer.cpp')
-rw-r--r-- | src/core/Timer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp index f60adf07..5adc36b5 100644 --- a/src/core/Timer.cpp +++ b/src/core/Timer.cpp @@ -5,6 +5,7 @@ #include "DMAudio.h" #include "Record.h" #include "Timer.h" +#include "SpecialFX.h" uint32 CTimer::m_snTimeInMilliseconds; PauseModeTime CTimer::m_snTimeInMillisecondsPauseMode = 1; @@ -141,7 +142,7 @@ void CTimer::Update(void) } } - if ( ms_fTimeStep < 0.01f && !GetIsPaused() ) + if ( ms_fTimeStep < 0.01f && !GetIsPaused() && !CSpecialFX::bSnapShotActive) ms_fTimeStep = 0.01f; ms_fTimeStepNonClipped = ms_fTimeStep; |