]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
Added a mempool parameter to FS_LoadFile
[xonotic/darkplaces.git] / sv_main.c
index d5b05b5d0fdf2ee55104a5e072a3226b69679616..4bd029285034556163168a49ce7ec4b6a1747ea7 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1927,7 +1927,7 @@ void SV_SpawnServer (const char *server)
        // load replacement entity file if found
        entities = NULL;
        if (sv_entpatch.integer)
-               entities = FS_LoadFile(va("maps/%s.ent", sv.name), true);
+               entities = FS_LoadFile(va("maps/%s.ent", sv.name), tempmempool, true);
        if (entities)
        {
                Con_Printf("Loaded maps/%s.ent\n", sv.name);