moved ixtable definition and initialization code to mathlib (and added Mathlib_Init...
[xonotic/darkplaces.git] / common.c
index 22f2885bd1d7d8facc943f45af6cb9e1973615b8..4258945e5145fd9fe095b4cda379dd6354dc9b2a 100644 (file)
--- a/common.c
+++ b/common.c
@@ -1181,6 +1181,8 @@ void COM_Memstats_f(void)
 }
 
 
+extern void Mathlib_Init(void);
+
 /*
 ================
 COM_Init
@@ -1217,6 +1219,8 @@ void COM_Init (char *basedir)
        Cmd_AddCommand ("path", COM_Path_f);
        Cmd_AddCommand ("memstats", COM_Memstats_f);
 
+       Mathlib_Init();
+
        COM_InitFilesystem ();
        COM_CheckRegistered ();
 }