summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/g_game.c')
-rw-r--r--src/g_game.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/g_game.c b/src/g_game.c
index 9ef99408..ffb93b8b 100644
--- a/src/g_game.c
+++ b/src/g_game.c
@@ -1350,9 +1350,9 @@ void G_DoCompleted (void)
wminfo.maxsecret = totalsecret;
wminfo.maxfrags = 0;
if ( gamemode == commercial )
- wminfo.partime = 35*cpars[gamemap-1];
+ wminfo.partime = TICRATE*cpars[gamemap-1];
else
- wminfo.partime = 35*pars[gameepisode][gamemap];
+ wminfo.partime = TICRATE*pars[gameepisode][gamemap];
wminfo.pnum = consoleplayer;
for (i=0 ; i<MAXPLAYERS ; i++)
@@ -2017,7 +2017,7 @@ boolean G_CheckDemoStatus (void)
endtime = I_GetTime ();
realtics = endtime - starttime;
- fps = ((float) gametic * 35) / realtics;
+ fps = ((float) gametic * TICRATE) / realtics;
// Prevent recursive calls
timingdemo = false;