From c5fc5858b65b70e4ecb61aa0ea7a96194d48a2c4 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 2 Oct 2004 05:42:20 +0000 Subject: [PATCH] hmm. that should make downloads less crazy. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@285 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 034d06e03..fc7c3029d 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -547,6 +547,12 @@ qboolean CL_CheckOrDownloadFile (char *filename, int nodelay) if (!strcmp(failed->name, filename)) return true; } + + for (failed = cl.downloadlist; failed; failed = failed->next) //It's already on our list. Ignore it. + { + if (!strcmp(failed->name, filename)) + return true; + } } if ((!requiredownloads.value && !nodelay) || nodelay==-1)