]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - wad.c
Mem_AllocPool flags and parent parameters added, now there can be multiple temporary...
[xonotic/darkplaces.git] / wad.c
diff --git a/wad.c b/wad.c
index 44f39f310273351c93f08a6714f614521a4111f7..ed96026da875db20a503812baf47af1670480c84 100644 (file)
--- a/wad.c
+++ b/wad.c
@@ -79,7 +79,7 @@ void *W_GetLumpName(char *name)
                                Con_Print("gfx.wad doesn't have WAD2 id\n");
                        else
                        {
-                               wad_mempool = Mem_AllocPool("gfx.wad");
+                               wad_mempool = Mem_AllocPool("gfx.wad", 0, NULL);
                                wad_base = Mem_Alloc(wad_mempool, fs_filesize);
 
                                memcpy(wad_base, temp, fs_filesize);