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

View file

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