From 013940c38a5c022d220b0bf98538ba1c3a8bce57 Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Fri, 8 May 2015 17:54:11 +0100 Subject: [PATCH] Remove focus check from RWGame tick --- rwgame/RWGame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rwgame/RWGame.cpp b/rwgame/RWGame.cpp index 21063ca9..097ce342 100644 --- a/rwgame/RWGame.cpp +++ b/rwgame/RWGame.cpp @@ -339,7 +339,7 @@ void RWGame::tick(float dt) State* currState = StateManager::get().states.back(); static float clockAccumulator = 0.f; - if (inFocus && currState->shouldWorldUpdate() ) { + if ( currState->shouldWorldUpdate() ) { state->gameTime += dt; clockAccumulator += dt;