From 762c18dd81670f90f26ed566b710017d1b9e27ab Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 16 Oct 2005 12:52:06 +0000 Subject: [PATCH] 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 --- engine/client/clq3_parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/client/clq3_parse.c b/engine/client/clq3_parse.c index e8fa59dab..5f0b4903d 100644 --- a/engine/client/clq3_parse.c +++ b/engine/client/clq3_parse.c @@ -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; }