diff options
author | Simon Howard | 2007-06-22 11:55:14 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-22 11:55:14 +0000 |
commit | c1cfa2e0914fe451d5fd147beadfcec922878684 (patch) | |
tree | c45d57c03efaade0b58e548478d7d7ba56cf6c07 /src/g_game.c | |
parent | d8ecb804f3659a04ad4203b4b11fef30b274b9d5 (diff) | |
download | chocolate-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.c | 6 |
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; |