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:
Simon Howard 2018-11-10 00:58:19 -05:00
parent 94ed513e58
commit b88a8cdb76

View file

@ -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