]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
faster number to edict lookup (sv.edictstable) and faster edict to number lookup...
[xonotic/darkplaces.git] / sys_linux.c
index 451844ce69e8ad45dec978e853893a5940e5b561..abe5a45476c168fbf986f30001ca8860439bd844 100644 (file)
@@ -139,20 +139,14 @@ void Sys_Sleep(void)
        usleep(1);
 }
 
-int main (int argc, char **argv)
+int main (int argc, const char **argv)
 {
        double frameoldtime, framenewtime;
 
        signal(SIGFPE, SIG_IGN);
 
-       memset(&host_parms, 0, sizeof(host_parms));
-
        com_argc = argc;
        com_argv = argv;
-       host_parms.basedir = ".";
-#if CACHEENABLE
-       host_parms.cachedir = "/tmp";
-#endif
 
        fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY);