mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-10 23:56:19 +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
8790661b20
commit
44b9f8e25a
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])
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue