summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2011-08-29 13:57:46 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:37:17 +0000
commita9c5184a64ee625feb78f7b378c8a0cc3f8fc910 (patch)
treedd84821004a37dea373c0021293ffc3a55d986b3 /src/client/cl_main.c
parent4fe1530338010516157c007cf9e9fbb9492a7914 (diff)
- Only need cl_cURLLib cvar if USE_CURL_DLOPEN is defined. - Try to load libcurl-4.dll on win32 (it use to be included in the NSIS installer).
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r--src/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index c66285dc..aee69445 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -3558,7 +3558,7 @@ void CL_Init( void ) {
cl_showMouseRate = Cvar_Get ("cl_showmouserate", "0", 0);
cl_allowDownload = Cvar_Get ("cl_allowDownload", "0", CVAR_ARCHIVE);
-#ifdef USE_CURL
+#ifdef USE_CURL_DLOPEN
cl_cURLLib = Cvar_Get("cl_cURLLib", DEFAULT_CURL_LIB, CVAR_ARCHIVE);
#endif
com_downloadPrompt = Cvar_Get ("com_downloadPrompt", "0", CVAR_ROM);