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
This commit is contained in:
Ashnal 2020-07-04 01:12:38 -04:00
parent 7da3d70f6c
commit 2c0671d8fd

View file

@ -2085,17 +2085,9 @@ static boolean CL_ServerConnectionSearchTicker(boolean viams, tic_t *asksent)
if (serverlist[i].info.httpsource[0]) 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); 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 #endif
cl_mode = CL_ASKFULLFILELIST;
D_ParseFileneeded(serverlist[i].info.fileneedednum, serverlist[i].info.fileneeded, 0); cl_lastcheckedfilecount = 0;
if (serverlist[i].info.kartvars & SV_LOTSOFADDONS) return true;
{
cl_mode = CL_ASKFULLFILELIST;
cl_lastcheckedfilecount = 0;
return true;
}
if (!CL_FinishedFileList())
return false;
} }
else else
cl_mode = CL_ASKJOIN; // files need not be checked for the server. cl_mode = CL_ASKJOIN; // files need not be checked for the server.