Apply the FPS limiter to EVENT_SCREEN.

git-svn-id: https://svn.eduke32.com/eduke32@6641 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-10 22:58:34 +00:00
parent f228b68736
commit 210f3e54ff

View file

@ -1237,6 +1237,9 @@ void Screen_Play(void)
{
G_HandleAsync();
if (!G_FPSLimit())
continue;
clearallviews(0);
if (VM_OnEventWithReturn(EVENT_SCREEN, g_player[screenpeek].ps->i, screenpeek, I_CheckAllInput()))
running = 0;