server now starts up without segging from the cvar update

This commit is contained in:
Bill Currie 2000-05-16 06:28:50 +00:00
parent fa198d11f3
commit 119270c6fc
2 changed files with 4 additions and 4 deletions

View file

@ -898,7 +898,5 @@ void SV_InitOperatorCommands (void)
Cmd_AddCommand ("floodprot", SV_Floodprot_f);
Cmd_AddCommand ("floodprotmsg", SV_Floodprotmsg_f);
/* cl_warncmd.value = 1;
CVAR_FIXME */
cl_warncmd->value = 1;
cl_warncmd = Cvar_Get ("cl_warncmd", "1", CVAR_NONE, "dunno. equiv to sh -x?"); // FIXME poor description
}

View file

@ -1836,6 +1836,9 @@ void SV_Init (quakeparms_t *parms)
SV_Error ("Only %4.1f megs of memory reported, can't execute game", parms->memsize / (float)0x100000);
Memory_Init (parms->membase, parms->memsize);
Sys_Init ();
Cvar_Init ();
Cbuf_Init ();
Cmd_Init ();
@ -1847,7 +1850,6 @@ void SV_Init (quakeparms_t *parms)
SV_InitNet ();
SV_InitLocal ();
Sys_Init ();
Pmove_Init ();
Hunk_AllocName (0, "-HOST_HUNKLEVEL-");