1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Remove focus check from RWGame tick

This commit is contained in:
Daniel Evans 2015-05-08 17:54:11 +01:00
parent f9ce9a2057
commit 013940c38a

View File

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