mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 13:55:36 -04:00
bring implementation of -timedemo in line with Chocolate Doom (#362)
This commit is contained in:
parent
1f2c476af1
commit
03b0409584
@ -754,7 +754,17 @@ void TryRunTics (void)
|
||||
realtics = entertic - oldentertics;
|
||||
oldentertics = entertic;
|
||||
|
||||
// in singletics mode, run a single tic every time this function
|
||||
// is called.
|
||||
|
||||
if (singletics)
|
||||
{
|
||||
BuildNewTic();
|
||||
}
|
||||
else
|
||||
{
|
||||
NetUpdate ();
|
||||
}
|
||||
|
||||
lowtic = GetLowTic();
|
||||
|
||||
|
@ -1856,10 +1856,6 @@ void D_DoomMain(void)
|
||||
{
|
||||
int p, slot;
|
||||
|
||||
ticcmd_t emptycmd;
|
||||
|
||||
netcmds = &emptycmd;
|
||||
|
||||
setbuf(stdout,NULL);
|
||||
|
||||
dsdh_InitTables();
|
||||
@ -2355,20 +2351,6 @@ void D_DoomMain(void)
|
||||
// frame syncronous IO operations
|
||||
I_StartFrame ();
|
||||
|
||||
// process one or more tics
|
||||
if (singletics)
|
||||
{
|
||||
I_StartTic ();
|
||||
D_ProcessEvents ();
|
||||
G_BuildTiccmd (netcmds);
|
||||
if (advancedemo)
|
||||
D_DoAdvanceDemo ();
|
||||
M_Ticker ();
|
||||
G_Ticker ();
|
||||
gametic++;
|
||||
maketic++;
|
||||
}
|
||||
else
|
||||
TryRunTics (); // will run at least one tic
|
||||
|
||||
// killough 3/16/98: change consoleplayer to displayplayer
|
||||
|
Loading…
x
Reference in New Issue
Block a user