mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Remove focus check from RWGame tick
This commit is contained in:
parent
f9ce9a2057
commit
013940c38a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user