Fix FPS limiter in EVENT_SCREEN.

git-svn-id: https://svn.eduke32.com/eduke32@6648 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-02-12 02:32:39 +00:00
parent f2538230b7
commit 8ddcef89fc

View file

@ -1237,6 +1237,8 @@ void Screen_Play(void)
{
G_HandleAsync();
ototalclock = totalclock + 1; // pause game like ANMs
if (!G_FPSLimit())
continue;
@ -1244,11 +1246,9 @@ void Screen_Play(void)
if (VM_OnEventWithReturn(EVENT_SCREEN, g_player[screenpeek].ps->i, screenpeek, I_CheckAllInput()))
running = 0;
nextpage();
// nextpage();
I_ClearAllInput();
ototalclock = totalclock + 1; // pause game like ANMs
} while (running);
}