moved cfg_save_name around
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@157 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8b9eb9f5f8
commit
6bdaa5cbcf
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue