From b88a8cdb769e79df9636bbb8b0d8678ddc994d9f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 10 Nov 2018 00:58:19 -0500 Subject: [PATCH] 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. --- src/d_loop.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/d_loop.c b/src/d_loop.c index 8676707c..df0abf0d 100644 --- a/src/d_loop.c +++ b/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