summaryrefslogtreecommitdiff
path: root/src/g_game.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-22 11:55:14 +0000
committerSimon Howard2007-06-22 11:55:14 +0000
commitc1cfa2e0914fe451d5fd147beadfcec922878684 (patch)
treec45d57c03efaade0b58e548478d7d7ba56cf6c07 /src/g_game.c
parentd8ecb804f3659a04ad4203b4b11fef30b274b9d5 (diff)
downloadchocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.gz
chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.bz2
chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.zip
Replace 35 with TICRATE where appropriate.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925
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;