]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_linux.c
added newmap function to render modules (so explosions and other things are reset...
[xonotic/darkplaces.git] / sys_linux.c
index da6ae1d7f5748b2d8de8d78e86f11ec50b5e45a0..cc2ef249b8f95646fd3e05f4e596d4ca09209fe4 100644 (file)
@@ -399,7 +399,6 @@ int main (int c, char **v)
        double          time, oldtime, newtime;
        extern int vcrFile;
        extern int recording;
-       int j;
 
 //     static char cwd[1024];
 
@@ -414,16 +413,6 @@ int main (int c, char **v)
 
        host_parms.memsize = DEFAULTMEM * 1024*1024;
 
-       j = COM_CheckParm("-mem");
-       if (j)
-               host_parms.memsize = (int) (atof(com_argv[j+1]) * 1024 * 1024);
-       host_parms.membase = qmalloc(host_parms.memsize);
-       if (!host_parms.membase)
-       {
-               printf("Unable to allocate heap memory\n");
-               return 1;
-       }
-
        host_parms.basedir = basedir;
 // caching is disabled by default, use -cachedir to enable
 //     host_parms.cachedir = cachedir;