X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_parse.c;h=45bd0137d95daa69c68dbfd503c8758190e3b817;hb=63f63b8fdbc839ab5da9f3eccda24817d4ebc7be;hp=c0aab7c634da361f5ed3b0e1804ff016561559f7;hpb=7498fdf63cfe809055148711e4056e7e1920303c;p=xonotic%2Fdarkplaces.git diff --git a/cl_parse.c b/cl_parse.c index c0aab7c6..45bd0137 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -1945,7 +1945,7 @@ static void CL_ParseServerInfo (void) cls.demo_lastcsprogscrc = -1; } else - Con_Print ("ERROR: couldn't open.\n"); + Con_Error ("ERROR: couldn't open.\n"); } } cl.islocalgame = NetConn_IsLocalGame(); @@ -4312,8 +4312,11 @@ void CL_Parse_Init(void) Cmd_AddCommand(&cmd_client, "changing", QW_CL_Changing_f, "sent by qw servers to tell client to wait for level change"); Cmd_AddCommand(&cmd_client, "cl_begindownloads", CL_BeginDownloads_f, "used internally by darkplaces client while connecting (causes loading of models and sounds or triggers downloads for missing ones)"); Cmd_AddCommand(&cmd_client, "cl_downloadbegin", CL_DownloadBegin_f, "(networking) informs client of download file information, client replies with sv_startsoundload to begin the transfer"); + Cmd_AddCommand(&cmd_clientfromserver, "cl_downloadbegin", CL_DownloadBegin_f, "(networking) informs client of download file information, client replies with sv_startsoundload to begin the transfer"); Cmd_AddCommand(&cmd_client, "stopdownload", CL_StopDownload_f, "terminates a download"); + Cmd_AddCommand(&cmd_clientfromserver, "stopdownload", CL_StopDownload_f, "terminates a download"); Cmd_AddCommand(&cmd_client, "cl_downloadfinished", CL_DownloadFinished_f, "signals that a download has finished and provides the client with file size and crc to check its integrity"); + Cmd_AddCommand(&cmd_clientfromserver, "cl_downloadfinished", CL_DownloadFinished_f, "signals that a download has finished and provides the client with file size and crc to check its integrity"); Cmd_AddCommand(&cmd_client, "iplog_list", CL_IPLog_List_f, "lists names of players whose IP address begins with the supplied text (example: iplog_list 123.456.789)"); }