Merge branch 'showfps-fix' into 'master'

Don't show the FPS counter during startup.

See merge request STJr/SRB2!930
This commit is contained in:
MascaraSnake 2020-05-11 13:31:26 -04:00
commit 7ca886b07d
1 changed files with 3 additions and 0 deletions

View File

@ -526,6 +526,9 @@ void SCR_DisplayTicRate(void)
INT32 ticcntcolor = 0;
const INT32 h = vid.height-(8*vid.dupy);
if (gamestate == GS_NULL)
return;
for (i = lasttic + 1; i < TICRATE+lasttic && i < ontic; ++i)
fpsgraph[i % TICRATE] = false;