]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Add missing server commands to cmd_client so a listen server can use them
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 2 Jun 2020 14:08:51 +0000 (14:08 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 2 Jun 2020 14:08:51 +0000 (14:08 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12626 d7cf8633-e32d-0410-b094-e92efae38249

sv_main.c

index b10a67d9f13424b0119993cc0ddc28ac41ae1688..1f8d87f0d3719f09559dec45eb1695605abb703d 100644 (file)
--- 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)");