]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
This is a patch from Elric greatly cleaning up the filesystem portions of the engine...
[xonotic/darkplaces.git] / sv_main.c
index 502a630e90290c9fc15fb9cd3674832e9cb7bd71..5941b55e7ac76c83412ed492bda0b2d2e647bde3 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1868,7 +1868,7 @@ void SV_SpawnServer (const char *server)
        // load replacement entity file if found
        entities = NULL;
        if (sv_entpatch.integer)
-               entities = COM_LoadFile(va("maps/%s.ent", sv.name), true);
+               entities = FS_LoadFile(va("maps/%s.ent", sv.name), true);
        if (entities)
        {
                Con_Printf("Loaded maps/%s.ent\n", sv.name);