Timedemo: Regard ProcessInput and gfProgressToNextGameTick
This commit is contained in:
parent
eda4a5061e
commit
fb562b29e9
4 changed files with 76 additions and 19 deletions
|
|
@ -227,7 +227,7 @@ bool nthread_has_500ms_passed()
|
|||
|
||||
void nthread_UpdateProgressToNextGameTick()
|
||||
{
|
||||
if (!gbRunGame || PauseMode != 0 || (!gbIsMultiplayer && gmenu_is_active()) || !gbProcessPlayers) // if game is not running or paused there is no next gametick in the near future
|
||||
if (!gbRunGame || PauseMode != 0 || (!gbIsMultiplayer && gmenu_is_active()) || !gbProcessPlayers || demoMode) // if game is not running or paused there is no next gametick in the near future
|
||||
return;
|
||||
int currentTickCount = SDL_GetTicks();
|
||||
int ticksElapsed = last_tick - currentTickCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue