net: Use -newsync by default again.
Now that the synchronization code has been improved, re-enable it by default, remove the -newsync parameter and add back -oldsync instead for users who want to opt out. This fixes #358 and #489.
This commit is contained in:
parent
94ed513e58
commit
b88a8cdb76
1 changed files with 3 additions and 14 deletions
17
src/d_loop.c
17
src/d_loop.c
|
|
@ -346,21 +346,10 @@ void D_StartNetGame(net_gamesettings_t *settings,
|
|||
//!
|
||||
// @category net
|
||||
//
|
||||
// Use new network client sync code rather than the classic
|
||||
// sync code. This is currently disabled by default because it
|
||||
// has some bugs.
|
||||
// Use original network client sync code rather than the improved
|
||||
// sync code.
|
||||
//
|
||||
if (M_CheckParm("-newsync") > 0)
|
||||
settings->new_sync = 1;
|
||||
else
|
||||
settings->new_sync = 0;
|
||||
|
||||
// TODO: New sync code is not enabled by default because it's
|
||||
// currently broken.
|
||||
//if (M_CheckParm("-oldsync") > 0)
|
||||
// settings->new_sync = 0;
|
||||
//else
|
||||
// settings->new_sync = 1;
|
||||
settings->new_sync = !M_ParmExists("-oldsync");
|
||||
|
||||
//!
|
||||
// @category net
|
||||
|
|
|
|||
Loading…
Reference in a new issue