Commit ffccc7c3 authored by NY00123's avatar NY00123 Committed by Evan Ramos
Browse files

sw/src/game.cpp:RunLevel: Call faketimerhandler in a loop, based on code

from EDuke32-OldMP. Main difference from EDuke32-OldMP is that this is
done even while staying in the menu; Behaviors will otherwise break.
We should also call timerUpdateClock() before the loop, especially
after removing the call to this function from faketimerhandler soon.
parent c79af651
......@@ -3309,6 +3309,10 @@ RunLevel(void)
ExitLevel = FALSE;
break;
}
timerUpdateClock();
while (ready2send && (totalclock >= ototalclock + synctics))
faketimerhandler();
}
ready2send = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment