summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/cl_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index dc177cf7..2ae95fa3 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -2122,7 +2122,11 @@ void CL_NextDownload(void)
int prompt;
// A download has finished, check whether this matches a referenced checksum
- if(*clc.downloadName && !clc.activeCURLNotGameRelated)
+ if(*clc.downloadName
+#ifdef USE_CURL
+ && !clc.activeCURLNotGameRelated
+#endif
+ )
{
char *zippath = FS_BuildOSPath(Cvar_VariableString("fs_homepath"), clc.downloadName, "");
zippath[strlen(zippath)-1] = '\0';