- 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).
This commit is contained in:
Zack Middleton 2011-08-29 13:57:46 +00:00
parent 120f29c402
commit 56f5fedee9
3 changed files with 15 additions and 14 deletions

View file

@ -3491,7 +3491,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