Fix I_FrameCapSleep not respecting cpusleep

Jonathan Joestar bruh
This commit is contained in:
Sally Coolatta 2022-04-27 17:22:39 -04:00 committed by Eidolon
parent 9b4e485686
commit c3340959de

View file

@ -2306,7 +2306,7 @@ boolean I_FrameCapSleep(const double t)
while (curTime < destTime) 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) // Wait 1ms at a time (on default settings)
// until we're close enough. // until we're close enough.