mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
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:
parent
7da3d70f6c
commit
2c0671d8fd
1 changed files with 3 additions and 11 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue