aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-28 09:44:09 +0300
committerSergeanur <s.anureev@yandex.ua>2021-06-24 21:32:43 +0300
commit68b5270fe459ad86d9cb8a449c0d9b7efe57d2d9 (patch)
tree43edb86a4cf57d7a643b45ef82694e34f56d568e /src/core
parenta11bf19b9341a77ce57ba8bd00eb0bf5d2dcc7a8 (diff)
Fix some timer calls
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 58db2d34..492f481e 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -1180,7 +1180,7 @@ DisplayGameDebugText()
FramesPerSecondCounter += frameTime / 1000.f; // convert to seconds
FramesPerSecond = FrameSamples / FramesPerSecondCounter;
#else
- FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f);
+ FramesPerSecondCounter += 1000.0f / CTimer::GetTimeStepNonClippedInMilliseconds();
FramesPerSecond = FramesPerSecondCounter / FrameSamples;
#endif