another 3.1.2.1 rollback

This commit is contained in:
Thijs Wenker 2016-04-04 17:36:43 +02:00
parent 142f37da1c
commit 2be4097bc5

View file

@ -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;
}