summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2007-09-22 20:55:11 +0000
committerTim Angus <tim@ngus.net>2007-09-22 20:55:11 +0000
commit6eb2ff79c06c6d5acab3070937a680ff3494ba50 (patch)
tree4d14fb84712d4c7a1c2ed19b2056b0e40b445d4b /src/client/cl_main.c
parent0edfa2794ebbcc7019093e5d88b7ca7269704902 (diff)
* Merge of ioq3-r1186
Diffstat (limited to 'src/client/cl_main.c')
-rw-r--r--src/client/cl_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index 80c35db1..fc73ad47 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -736,7 +736,7 @@ CL_ShutdownAll
*/
void CL_ShutdownAll(void) {
-#if USE_CURL
+#ifdef USE_CURL
CL_cURL_Shutdown();
#endif
// clear sounds
@@ -1415,7 +1415,7 @@ Called when all downloading has been completed
*/
void CL_DownloadsComplete( void ) {
-#if USE_CURL
+#ifdef USE_CURL
// if we downloaded with cURL
if(clc.cURLUsed) {
clc.cURLUsed = qfalse;
@@ -1546,7 +1546,7 @@ void CL_NextDownload(void) {
*s++ = 0;
else
s = localName + strlen(localName); // point at the nul byte
-#if USE_CURL
+#ifdef USE_CURL
if(!(cl_allowDownload->integer & DLF_NO_REDIRECT)) {
if(clc.sv_allowDownload & DLF_NO_REDIRECT) {
Com_Printf("WARNING: server does not "
@@ -2162,7 +2162,7 @@ void CL_Frame ( int msec ) {
return;
}
-#if USE_CURL
+#ifdef USE_CURL
if(clc.downloadCURLM) {
CL_cURL_PerformDownload();
// we can't process frames normally when in disconnected
@@ -2653,7 +2653,7 @@ void CL_Init( void ) {
cl_showMouseRate = Cvar_Get ("cl_showmouserate", "0", 0);
cl_allowDownload = Cvar_Get ("cl_allowDownload", "0", CVAR_ARCHIVE);
-#if USE_CURL
+#ifdef USE_CURL
cl_cURLLib = Cvar_Get("cl_cURLLib", DEFAULT_CURL_LIB, CVAR_ARCHIVE);
#endif