]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Add "cmd" command to cmd_clientfromserver interpreter because QW signon
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Apr 2020 02:01:23 +0000 (02:01 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 17 Apr 2020 02:01:23 +0000 (02:01 +0000)
process uses this, thanks to Spoike for pointing out this oversight.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12526 d7cf8633-e32d-0410-b094-e92efae38249

cmd.c

diff --git a/cmd.c b/cmd.c
index cf5f3a0e0438e54eab5a40e42aa086efdf715c53..ad1097616162745c0e8e43f6cdc33a34054706e5 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -1502,6 +1502,7 @@ void Cmd_Init_Commands(qboolean dedicated_server)
 //
        // client-only commands
        Cmd_AddCommand(&cmd_client, "cmd", Cmd_ForwardToServer_f, "send a console commandline to the server (used by some mods)");
+       Cmd_AddCommand(&cmd_clientfromserver, "cmd", Cmd_ForwardToServer_f, "send a console commandline to the server (used by some mods)");
        Cmd_AddCommand(&cmd_client, "wait", Cmd_Wait_f, "make script execution wait for next rendered frame");
        Cmd_AddCommand(&cmd_client, "cprint", Cmd_Centerprint_f, "print something at the screen center");