Automatically reload all pk3 files if we just downloaded something.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1494 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-10-16 12:52:06 +00:00
parent aec49a7bb0
commit 762c18dd81
1 changed files with 3 additions and 1 deletions

View File

@ -380,7 +380,7 @@ void CLQ3_ParseDownload(void)
if (ccs.downloadchunknum != chunknum) //the q3 client is rather lame.
{ //ccs.downloadchunknum holds the chunk number.
Con_Printf("PACKETLOSS WHEN DOWNLOADING!!!!\n");
Con_DPrintf("PACKETLOSS WHEN DOWNLOADING!!!!\n");
return; //let the server try again some time
}
ccs.downloadchunknum++;
@ -416,6 +416,8 @@ void CLQ3_ParseDownload(void)
*cls.downloadtempname = *cls.downloadname = 0;
cls.downloadmethod = DL_NONE;
FS_ReloadPackFiles();
cl.servercount = -1; //make sure the server resends us that vital gamestate.
ccs.downloadchunknum = -1;
}