diff options
author | Simon Howard | 2007-07-30 02:03:23 +0000 |
---|---|---|
committer | Simon Howard | 2007-07-30 02:03:23 +0000 |
commit | 5f4628dcc6400e64f62ad7c3afaac2046f8b1e9a (patch) | |
tree | 2850e354d99a4075d97fbfa65281af53f4822a73 /src/g_game.c | |
parent | bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a (diff) | |
download | chocolate-doom-5f4628dcc6400e64f62ad7c3afaac2046f8b1e9a.tar.gz chocolate-doom-5f4628dcc6400e64f62ad7c3afaac2046f8b1e9a.tar.bz2 chocolate-doom-5f4628dcc6400e64f62ad7c3afaac2046f8b1e9a.zip |
Set timedemo start time when demo playback begins, not when the level
begins. Using the level start time causes problems when timing
multi-level demos.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 942
Diffstat (limited to 'src/g_game.c')
-rw-r--r-- | src/g_game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g_game.c b/src/g_game.c index 5a1f2891..8a07bab9 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -673,7 +673,6 @@ void G_DoLoadLevel (void) P_SetupLevel (gameepisode, gamemap, 0, gameskill); displayplayer = consoleplayer; // view the guy you are playing - starttime = I_GetTime (); gameaction = ga_nothing; Z_CheckHeap (); @@ -1974,6 +1973,7 @@ void G_DoPlayDemo (void) precache = false; G_InitNew (skill, episode, map); precache = true; + starttime = I_GetTime (); usergame = false; demoplayback = true; |