From: havoc Date: Fri, 17 Apr 2020 02:01:23 +0000 (+0000) Subject: Add "cmd" command to cmd_clientfromserver interpreter because QW signon X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=1c94b2c6b257c6ab8ce99ab053822c8b8d19bdf1 Add "cmd" command to cmd_clientfromserver interpreter because QW signon 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 --- diff --git a/cmd.c b/cmd.c index cf5f3a0e..ad109761 100644 --- 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");