diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 208065f2c..05bbbe1b6 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -1008,6 +1008,9 @@ void CL_ParseChunkedDownload(void) MSG_ReadData(data, DLBLOCKSIZE); + if (!cls.downloadqw) + return; + if (cls.demoplayback) { //err, yeah, when playing demos we don't actually pay any attention to this. return; diff --git a/engine/client/fragstats.c b/engine/client/fragstats.c index 03bc17319..1e41abe8f 100644 --- a/engine/client/fragstats.c +++ b/engine/client/fragstats.c @@ -487,6 +487,8 @@ void Stats_ParsePrintLine(char *line) { //two players m2 = line + strlen(ms->msgpart1); p2 = Stats_ExtractName(&m2); + if (!ms->msgpart2) + continue; if (!qm_stricmp(ms->msgpart2, m2)) { Stats_Evaluate(ms->type, ms->wid, p1, p2);