From f0de094e64f62276be930f9b1150a3dc10376c5f Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Tue, 2 Jun 2020 14:08:51 +0000 Subject: [PATCH] Add missing server commands to cmd_client so a listen server can use them git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12626 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sv_main.c b/sv_main.c index b10a67d9..1f8d87f0 100644 --- a/sv_main.c +++ b/sv_main.c @@ -447,7 +447,9 @@ void SV_Init (void) Cvar_RegisterVariable (&csqc_usedemoprogs); Cmd_AddCommand(&cmd_server, "sv_saveentfile", SV_SaveEntFile_f, "save map entities to .ent file (to allow external editing)"); + Cmd_AddCommand(&cmd_client, "sv_saveentfile", SV_SaveEntFile_f, "save map entities to .ent file (to allow external editing)"); Cmd_AddCommand(&cmd_server, "sv_areastats", SV_AreaStats_f, "prints statistics on entity culling during collision traces"); + Cmd_AddCommand(&cmd_client, "sv_areastats", SV_AreaStats_f, "prints statistics on entity culling during collision traces"); Cmd_AddCommand(&cmd_serverfromclient, "sv_startdownload", SV_StartDownload_f, "begins sending a file to the client (network protocol use only)"); Cmd_AddCommand(&cmd_serverfromclient, "download", SV_Download_f, "downloads a specified file from the server"); Cmd_AddCommand(&cmd_client, "sv_startdownload", Cmd_ForwardToServer_f, "begins sending a file to the client (network protocol use only)"); -- 2.39.2