mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
another 3.1.2.1 rollback
This commit is contained in:
parent
142f37da1c
commit
2be4097bc5
1 changed files with 1 additions and 1 deletions
|
@ -2614,7 +2614,7 @@ void Application::idle(uint64_t now) {
|
|||
static uint64_t lastIdleStart{ now };
|
||||
uint64_t idleStartToStartDuration = now - lastIdleStart;
|
||||
if (idleStartToStartDuration != 0) {
|
||||
_simsPerSecond.updateAverage(static_cast<float>(USECS_PER_SECOND) / static_cast<float>(idleStartToStartDuration));
|
||||
_simsPerSecond.updateAverage((float)USECS_PER_SECOND / (float)idleStartToStartDuration);
|
||||
}
|
||||
lastIdleStart = now;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue