mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-29 15:51:45 +00:00
Never sleep between frames with timedemo
This commit is contained in:
parent
012862b58d
commit
fa1f5c2c84
1 changed files with 22 additions and 19 deletions
|
@ -142,6 +142,8 @@ Qcommon_Mainloop(void)
|
|||
while (1)
|
||||
{
|
||||
#ifndef DEDICATED_ONLY
|
||||
if (!cl_timedemo->value)
|
||||
{
|
||||
// Throttle the game a little bit.
|
||||
if (busywait->value)
|
||||
{
|
||||
|
@ -170,6 +172,7 @@ Qcommon_Mainloop(void)
|
|||
{
|
||||
Sys_Nanosleep(5000);
|
||||
}
|
||||
}
|
||||
#else
|
||||
Sys_Nanosleep(850000);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue