File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2234,6 +2234,7 @@ void CL_NextDownload(void)
22342234{
22352235 char * s ;
22362236 char * remoteName , * localName ;
2237+ qboolean usedHTTP = qfalse ;
22372238
22382239 // A download has finished, check whether this matches a referenced checksum
22392240 if (* clc .downloadName )
@@ -2289,6 +2290,8 @@ void CL_NextDownload(void)
22892290
22902291 CL_InitDownload (localName , remoteURL );
22912292 CL_BeginHttpDownload (remoteURL );
2293+
2294+ usedHTTP = qtrue ;
22922295 }
22932296 }
22942297 else if (!(clc .sv_allowDownload & DLF_NO_REDIRECT )) {
@@ -2298,7 +2301,7 @@ void CL_NextDownload(void)
22982301 cl_allowDownload -> integer );
22992302 }
23002303#endif /* USE_HTTP */
2301- if (!clc . httpUsed ) {
2304+ if (!usedHTTP ) {
23022305 if ((cl_allowDownload -> integer & DLF_NO_UDP )) {
23032306 Com_Error (ERR_DROP , "UDP Downloads are "
23042307 "disabled on your client. "
You can’t perform that action at this time.
0 commit comments