diff options
author | aap <aap@papnet.eu> | 2020-06-15 23:20:34 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-06-16 13:54:18 +0200 |
commit | 7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e (patch) | |
tree | 96ff35ea27589d1ff326eeafa3ba32eb88f8e60a /src/core/Timer.h | |
parent | Merge branch 'miami' of github.com:GTAmodding/re3 into miami (diff) | |
parent | Bike anim. fix (diff) | |
download | re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar.gz re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar.bz2 re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar.lz re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar.xz re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.tar.zst re3-7ceedc1d4770b9a02ede4b1adbdd9ea1fc5f295e.zip |
Diffstat (limited to 'src/core/Timer.h')
-rw-r--r-- | src/core/Timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Timer.h b/src/core/Timer.h index 6f100c63..cbfe5794 100644 --- a/src/core/Timer.h +++ b/src/core/Timer.h @@ -27,7 +27,7 @@ public: static uint32 GetTimeStepInMilliseconds() { return ms_fTimeStep / 50.0f * 1000.0f; } static const float &GetTimeStepNonClipped(void) { return ms_fTimeStepNonClipped; } static float GetTimeStepNonClippedInSeconds(void) { return ms_fTimeStepNonClipped / 50.0f; } - static uint32 GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; } + static float GetTimeStepNonClippedInMilliseconds(void) { return ms_fTimeStepNonClipped / 50.0f * 1000.0f; } static void SetTimeStepNonClipped(float ts) { ms_fTimeStepNonClipped = ts; } static const uint32 &GetFrameCounter(void) { return m_FrameCounter; } static void SetFrameCounter(uint32 fc) { m_FrameCounter = fc; } |