This gets csprogs to download. ahh well.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1835 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a94b2f19c9
commit
12a1bcb2c1
1 changed files with 3 additions and 1 deletions
|
@ -942,7 +942,7 @@ void CL_ParseChunkedDownload(void)
|
||||||
Host_EndGame("Received second download - \"%s\"\n", svname);
|
Host_EndGame("Received second download - \"%s\"\n", svname);
|
||||||
|
|
||||||
if (strcmp(cls.downloadname, svname))
|
if (strcmp(cls.downloadname, svname))
|
||||||
if (strcmp(cls.downloadname, "csprogs.dat") || strcmp(cls.downloadname, "csprogsvers/"))
|
if (strcmp(svname, "csprogs.dat") || strncmp(cls.downloadname, "csprogsvers/", 12))
|
||||||
Host_EndGame("Server sent the wrong download - \"%s\" instead of \"%s\"\n", svname, cls.downloadname);
|
Host_EndGame("Server sent the wrong download - \"%s\" instead of \"%s\"\n", svname, cls.downloadname);
|
||||||
|
|
||||||
|
|
||||||
|
@ -953,9 +953,11 @@ void CL_ParseChunkedDownload(void)
|
||||||
|
|
||||||
downloadstarttime = Sys_DoubleTime();
|
downloadstarttime = Sys_DoubleTime();
|
||||||
|
|
||||||
|
/*
|
||||||
strcpy(cls.downloadname, svname);
|
strcpy(cls.downloadname, svname);
|
||||||
COM_StripExtension(svname, cls.downloadtempname);
|
COM_StripExtension(svname, cls.downloadtempname);
|
||||||
COM_DefaultExtension(cls.downloadtempname, ".tmp");
|
COM_DefaultExtension(cls.downloadtempname, ".tmp");
|
||||||
|
*/
|
||||||
|
|
||||||
if (!strncmp(cls.downloadtempname,"skins/",6))
|
if (!strncmp(cls.downloadtempname,"skins/",6))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue