mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
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:
parent
f2538230b7
commit
8ddcef89fc
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue