]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_demo.c
Solaris compile fixes
[xonotic/darkplaces.git] / sv_demo.c
index d8f2bea90772bd07be69aecd71a30a6fbee1b6ee..c56274709e0bfb26166125af8e6467bdc4f60e98 100644 (file)
--- a/sv_demo.c
+++ b/sv_demo.c
@@ -13,7 +13,7 @@ void SV_StartDemoRecording(client_t *client, const char *filename, int forcetrac
 
        Con_Printf("Recording demo for # %d (%s) to %s\n", PRVM_NUM_FOR_EDICT(client->edict), client->netaddress, name);
 
-       client->sv_demo_file = FS_Open(name, "wb", false, false);
+       client->sv_demo_file = FS_OpenRealFile(name, "wb", false);
        if(!client->sv_demo_file)
        {
                Con_Print("ERROR: couldn't open.\n");