]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
split FS_Open into FS_OpenRealFile and FS_OpenVirtualFile (read-only),
[xonotic/darkplaces.git] / host_cmd.c
index 1a1b3d8d3916dc1fd4d08205e6a8bc7fd1271b24..9e3228c824de0f02856c55ae9c9f8b716d81cd8f 100644 (file)
@@ -445,7 +445,7 @@ void Host_Savegame_to (const char *name)
        isserver = !strcmp(PRVM_NAME, "server");
 
        Con_Printf("Saving game to %s...\n", name);
-       f = FS_Open (name, "wb", false, false);
+       f = FS_OpenRealFile(name, "wb", false);
        if (!f)
        {
                Con_Print("ERROR: couldn't open.\n");