]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.c
Clear the skybox textures on map load. Use memset to clear skyname.
[xonotic/darkplaces.git] / cmd.c
diff --git a/cmd.c b/cmd.c
index e4428aad869a6b24d08b069d07f0f69a5f0a89fe..ad1097616162745c0e8e43f6cdc33a34054706e5 100644 (file)
--- a/cmd.c
+++ b/cmd.c
@@ -27,6 +27,9 @@ cmd_state_t cmd_clientfromserver;
 cmd_state_t cmd_server;
 cmd_state_t cmd_serverfromclient;
 
+cmd_userdefined_t cmd_userdefined_all;
+cmd_userdefined_t cmd_userdefined_null;
+
 typedef struct cmd_iter_s {
        cmd_state_t *cmd;
 }
@@ -1499,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");