From 6bdaa5cbcfa22815822a4c51e89ea2ad5f5b591d Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 7 Sep 2004 18:18:49 +0000 Subject: [PATCH] moved cfg_save_name around git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@157 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/common/cmd.c b/engine/common/cmd.c index 6410cd69e..d3e6b6fb0 100644 --- a/engine/common/cmd.c +++ b/engine/common/cmd.c @@ -25,7 +25,6 @@ cvar_t com_fs_cache = {"fs_cache", "0", NULL, CVAR_ARCHIVE}; cvar_t rcon_level = {"rcon_level", "50"}; cvar_t cmd_onestuffwonder = {"cmd_stuffcmdonce", "1"}; cvar_t cmd_maxbuffersize = {"cmd_maxbuffersize", "65536"}; - int Cmd_ExecLevel; void Cmd_ForwardToServer (void); @@ -2626,14 +2625,12 @@ Cmd_Init */ void Cmd_Init (void) { - extern cvar_t cfg_save_name; // // register our commands // Cmd_AddCommand ("stuffcmds",Cmd_StuffCmds_f); Cmd_AddCommand ("cfg_save",Cmd_WriteConfig_f); Cmd_AddCommand ("cfg_load",Cmd_Exec_f); - Cvar_Register (&cfg_save_name, "Configs"); Cmd_AddCommand ("exec",Cmd_Exec_f); Cmd_AddCommand ("echo",Cmd_Echo_f);