From: cloudwalk Date: Sun, 24 May 2020 03:42:43 +0000 (+0000) Subject: Add curl to clientfromserver interpreter. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6f1cf381861133a95b8969d01c88d366eed91508;p=xonotic%2Fdarkplaces.git 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 --- 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)"); }