diff options
author | /dev/humancontroller <devhc@example.com> | 2015-02-01 23:27:49 +0100 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-06 18:01:32 +0100 |
commit | c44da35a1eb42a23223b7f950c33d2a603ce60d6 (patch) | |
tree | a95f47f2b1d9f76b70682c992c9f88a6fa19a4dd /src/client/cl_main.c | |
parent | 79670de4d78c6b6cd1e449aad985ac8dc4438b4e (diff) |
fix compilation without USE_CURL
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r-- | src/client/cl_main.c | 6 |
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'; |