diff --git a/rwgame/RWGame.cpp b/rwgame/RWGame.cpp index 30775943..82289377 100644 --- a/rwgame/RWGame.cpp +++ b/rwgame/RWGame.cpp @@ -415,9 +415,9 @@ int RWGame::run() { auto now = chrono::steady_clock::now(); auto deltaTime = chrono::duration(now - lastFrame).count(); lastFrame = now; - accumulatedTime += deltaTime; if(!world->isPaused()) { + accumulatedTime += deltaTime; world->dynamicsWorld->stepSimulation(deltaTime * timescale, kMaxPhysicsSubSteps, kPhysicsTimeStep); }