From daf6e66268197da2c935c24bd8e4d253fe8e511b Mon Sep 17 00:00:00 2001 From: James R Date: Sat, 29 Aug 2020 17:51:59 -0700 Subject: [PATCH] Fix stupid NONET (cherry picked from commit 679bfa21edec6b652def93082da5586e6c755678) --- src/d_clisrv.c | 1 - src/doomdef.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index b3b2cc03..b6b8d63b 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -2106,7 +2106,6 @@ static boolean CL_ServerConnectionSearchTicker(tic_t *asksent) *asksent = I_GetTime(); } #else - (void)viams; (void)asksent; // No netgames, so we skip this state. cl_mode = CL_ASKJOIN; diff --git a/src/doomdef.h b/src/doomdef.h index be4557b1..e9dddf5d 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -673,7 +673,7 @@ extern const char *compdate, *comptime, *comprevision, *compbranch; /// Hardware renderer: OpenGL #define GL_SHADERS -#ifdef HAVE_CURL +#if defined (HAVE_CURL) && ! defined (NONET) #define MASTERSERVER #else #undef UPDATE_ALERT