Core/Application: Fix updater elapsed time
This commit is contained in:
@@ -65,7 +65,7 @@ namespace Nz
|
||||
|
||||
Time timeSinceLastUpdate = m_currentTime - updaterEntry.lastUpdate;
|
||||
|
||||
if NAZARA_UNLIKELY(updaterEntry.nextUpdate == updaterEntry.lastUpdate)
|
||||
if NAZARA_UNLIKELY(updaterEntry.lastUpdate < Time::Zero())
|
||||
{
|
||||
// First call
|
||||
timeSinceLastUpdate = Time::Zero();
|
||||
|
||||
Reference in New Issue
Block a user