]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
Merge MR 'Make trace entity culling optional for spectators'
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index f5f4d6b917f0d458fc89065ccc9f8bae626b64fd..f8266c71a2a7e7e10b4ee3c21f1d533f6e657010 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1578,7 +1578,7 @@ qbool FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qbool compl
 
        if (cls.demoplayback)
        {
-               CL_Disconnect(false, NULL);
+               CL_Disconnect();
                cls.demonum = 0;
        }
 
@@ -1629,7 +1629,7 @@ static void FS_GameDir_f(cmd_state_t *cmd)
        }
 
        // halt demo playback to close the file
-       CL_Disconnect(false, NULL);
+       CL_Disconnect();
 
        FS_ChangeGameDirs(numgamedirs, gamedirs, true, true);
 }