Should never happen, but be prepared for it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@568 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5888f552f4
commit
fcd3f100d2
1 changed files with 7 additions and 0 deletions
|
@ -957,6 +957,13 @@ void CL_ParseDownload (void)
|
||||||
return; // not in demo playback
|
return; // not in demo playback
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!*cls.downloadname) //huh... that's not right...
|
||||||
|
{
|
||||||
|
Con_Print("^1Warning: Server sending unknown file.\n");
|
||||||
|
strcpy(cls.downloadname, "unknown.txt");
|
||||||
|
strcpy(cls.downloadtempname, "unknown.tmp");
|
||||||
|
}
|
||||||
|
|
||||||
if (size == -1)
|
if (size == -1)
|
||||||
{
|
{
|
||||||
Con_TPrintf (TL_FILENOTFOUND);
|
Con_TPrintf (TL_FILENOTFOUND);
|
||||||
|
|
Loading…
Reference in a new issue