]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
Added a mempool parameter to FS_LoadFile
[xonotic/darkplaces.git] / gl_rmain.c
index bcaf390d9cb26e1260c40a0edb2b9a2a7902e3dd..76123a6f450eaef7107c413eba6259f4a22fc77f 100644 (file)
@@ -239,7 +239,7 @@ void gl_main_newmap(void)
                if (l >= 0 && !strcmp(entname + l, ".bsp"))
                {
                        strcpy(entname + l, ".ent");
-                       if ((entities = FS_LoadFile(entname, true)))
+                       if ((entities = FS_LoadFile(entname, tempmempool, true)))
                        {
                                CL_ParseEntityLump(entities);
                                Mem_Free(entities);