]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - wad.c
renamed varray_ arrays to rsurface_array_, and they are no longer used outside the...
[xonotic/darkplaces.git] / wad.c
diff --git a/wad.c b/wad.c
index 3418f3c694637115f91d19d4610334ef7c7a9aef..7087ce69a909a69ddc4f67a63b75687c54037837 100644 (file)
--- a/wad.c
+++ b/wad.c
@@ -76,7 +76,7 @@ void *W_GetLumpName(const char *name)
        if (!wad_loaded)
        {
                wad_loaded = true;
-               if ((wad_base = FS_LoadFile ("gfx.wad", cls.mempool, false, &filesize)))
+               if ((wad_base = FS_LoadFile ("gfx.wad", cls.permanentmempool, false, &filesize)))
                {
                        if (memcmp(wad_base, "WAD2", 4))
                        {