From 2c0671d8fdd3a9c7ca1b7b1c7ceb7953ee9eb7d4 Mon Sep 17 00:00:00 2001 From: Ashnal Date: Sat, 4 Jul 2020 01:12:38 -0400 Subject: [PATCH] Let's just ALWAYS go into ask file list mode Easier to maintain and understand a single code path Rather than switching behavior based on amount of addons --- src/d_clisrv.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 13a0ab36..cc934173 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -2085,17 +2085,9 @@ static boolean CL_ServerConnectionSearchTicker(boolean viams, tic_t *asksent) if (serverlist[i].info.httpsource[0]) CONS_Printf("We received a http url from the server, however it will not be used as this build lacks curl support (%s)\n", serverlist[i].info.httpsource); #endif - - D_ParseFileneeded(serverlist[i].info.fileneedednum, serverlist[i].info.fileneeded, 0); - if (serverlist[i].info.kartvars & SV_LOTSOFADDONS) - { - cl_mode = CL_ASKFULLFILELIST; - cl_lastcheckedfilecount = 0; - return true; - } - - if (!CL_FinishedFileList()) - return false; + cl_mode = CL_ASKFULLFILELIST; + cl_lastcheckedfilecount = 0; + return true; } else cl_mode = CL_ASKJOIN; // files need not be checked for the server.