From 6f1cf381861133a95b8969d01c88d366eed91508 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sun, 24 May 2020 03:42:43 +0000 Subject: [PATCH] Add curl to clientfromserver interpreter. Custom maps should now download on Xonotic. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12559 d7cf8633-e32d-0410-b094-e92efae38249 --- libcurl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcurl.c b/libcurl.c index c93ee5d5..3d8de2b0 100644 --- a/libcurl.c +++ b/libcurl.c @@ -1553,6 +1553,7 @@ void Curl_Init_Commands(void) Cvar_RegisterVariable (&cl_curl_useragent); Cvar_RegisterVariable (&cl_curl_useragent_append); Cmd_AddCommand(&cmd_client, "curl", Curl_Curl_f, "download data from an URL and add to search path"); + Cmd_AddCommand(&cmd_clientfromserver, "curl", Curl_Curl_f, "download data from an URL and add to search path"); //Cmd_AddCommand(&cmd_client, "curlcat", Curl_CurlCat_f, "display data from an URL (debugging command)"); } -- 2.39.2