1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2004-12-05 11:37:39 +00:00
parent 5888f552f4
commit fcd3f100d2

View file

@ -957,6 +957,13 @@ void CL_ParseDownload (void)
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)
{
Con_TPrintf (TL_FILENOTFOUND);