mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 09:52:18 +00:00
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:
commit
7ca886b07d
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue