diff options
Diffstat (limited to '')
-rw-r--r-- | source/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/World.cpp b/source/World.cpp index 5c3a24177..4cc130811 100644 --- a/source/World.cpp +++ b/source/World.cpp @@ -211,7 +211,7 @@ void cWorld::cTickThread::Execute(void) while (!m_ShouldTerminate) { clock_t Start = clock(); - m_World.Tick((float)(LastTime - Start) / CLOCKS_PER_SEC); + m_World.Tick((float)(1000 * (Start - LastTime)) / CLOCKS_PER_SEC); clock_t Now = clock(); if (Now - Start < ClocksPerTick) { |