Add 'sys_throttle -1' to disable throttling when paused, too. Probably noone else will care but w/e.

This commit is contained in:
Shpoike 2024-02-25 05:31:51 +00:00
parent 11e0cdeb95
commit 84adac8434
1 changed files with 2 additions and 1 deletions

View File

@ -136,7 +136,8 @@ int main(int argc, char *argv[])
/* If we have no input focus at all, sleep a bit */
if (!VID_HasMouseOrInputFocus() || cl.paused)
{
SDL_Delay(16);
if (sys_throttle.value >= 0)
SDL_Delay(16);
}
/* If we're minimised, sleep a bit more */
if (VID_IsMinimized())