g_game.c: Fix -timedemo "realtics" duration in Heretic/Hexen
Same fix that fraggle did for Doom: only matters for multilevel demos so it wasn't relevant until such demos could be played back. Partial implementation of #432
This commit is contained in:
parent
9d51e53108
commit
e5d5a0930e
3 changed files with 8 additions and 2 deletions
4
NEWS.md
4
NEWS.md
|
|
@ -18,6 +18,10 @@
|
|||
* The vanilla limit of 4046 lumps per WAD is now enforced. (thanks
|
||||
Jon, Quasar, Edward-san)
|
||||
* Solidsegs overflow is emulated like in vanilla. (thanks Quasar)
|
||||
* Heretic/Hexen demo support has expanded. "-demoextend" allows
|
||||
demos to last longer than a single level; "-shortticfix" adjusts
|
||||
low-resolution turning to match Doom's handling; "-maxdemo" and
|
||||
"-longtics" support. (thanks CapnClever)
|
||||
|
||||
### Build systems
|
||||
* Improved compatibility with BSD Make. (thanks R.Rebello)
|
||||
|
|
|
|||
|
|
@ -680,7 +680,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();
|
||||
|
||||
|
|
@ -1842,6 +1841,8 @@ void G_TimeDemo(char *name)
|
|||
}
|
||||
|
||||
G_InitNew(skill, episode, map);
|
||||
starttime = I_GetTime();
|
||||
|
||||
usergame = false;
|
||||
demoplayback = true;
|
||||
timingdemo = true;
|
||||
|
|
|
|||
|
|
@ -682,7 +682,6 @@ void G_DoLoadLevel(void)
|
|||
SN_StopAllSequences();
|
||||
P_SetupLevel(gameepisode, gamemap, 0, gameskill);
|
||||
displayplayer = consoleplayer; // view the guy you are playing
|
||||
starttime = I_GetTime();
|
||||
gameaction = ga_nothing;
|
||||
Z_CheckHeap();
|
||||
|
||||
|
|
@ -2009,6 +2008,8 @@ void G_TimeDemo(char *name)
|
|||
}
|
||||
|
||||
G_InitNew(skill, episode, map);
|
||||
starttime = I_GetTime();
|
||||
|
||||
usergame = false;
|
||||
demoplayback = true;
|
||||
timingdemo = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue