mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Fix I_FrameCapSleep not respecting cpusleep
Jonathan Joestar bruh
This commit is contained in:
parent
9b4e485686
commit
c3340959de
1 changed files with 1 additions and 1 deletions
|
@ -2306,7 +2306,7 @@ boolean I_FrameCapSleep(const double t)
|
|||
|
||||
while (curTime < destTime)
|
||||
{
|
||||
if (curTime < sleepTime && cv_sleep.value <= 0)
|
||||
if (curTime < sleepTime && cv_sleep.value > 0)
|
||||
{
|
||||
// Wait 1ms at a time (on default settings)
|
||||
// until we're close enough.
|
||||
|
|
Loading…
Reference in a new issue