]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Add curl to clientfromserver interpreter.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 24 May 2020 03:42:43 +0000 (03:42 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 24 May 2020 03:42:43 +0000 (03:42 +0000)
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

index c93ee5d5ea913dd7cbe5fa46c085513a4c92e758..3d8de2b0ac158b871dbf43964d79ea2fa1f99ccc 100644 (file)
--- 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)");
 }