]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.c
changed Host_Init to execute configs only once
[xonotic/darkplaces.git] / common.c
index 74d26067a8d79d74a3f1dca692b7ba59940da51b..f568a828ea60f9812b2170a0a2d51f0dd389701f 100644 (file)
--- a/common.c
+++ b/common.c
@@ -1001,35 +1001,15 @@ void COM_InitGameType (void)
 }
 
 
-extern void Mathlib_Init(void);
-extern void FS_Init (void);
-
 /*
 ================
 COM_Init
 ================
 */
-void COM_Init (void)
+void COM_Init_Commands (void)
 {
        Cvar_RegisterVariable (&registered);
        Cvar_RegisterVariable (&cmdline);
-
-       Mathlib_Init();
-
-       FS_Init ();
-       COM_CheckRegistered ();
-}
-
-extern void FS_Shutdown (void);
-
-/*
-================
-COM_Shutdown
-================
-*/
-void COM_Shutdown (void)
-{
-       FS_Shutdown ();
 }
 
 /*