]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix gamedir command by removing the forced video subsystem shutdown, it was trying...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 3 Jun 2020 02:26:30 +0000 (02:26 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 3 Jun 2020 02:26:30 +0000 (02:26 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12627 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index 590a336c6d91be736bcc3b486977fcea876c9334..f4f1e55fdf752a5dd6e6c304b270d430a026a508 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1581,10 +1581,6 @@ qboolean FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qboolean
        // unload all sounds so they will be reloaded from the new files as needed
        S_UnloadAllSounds_f(&cmd_client);
 
-       // close down the video subsystem, it will start up again when the config finishes...
-       VID_Stop();
-       vid_opened = false;
-
        // restart the video subsystem after the config is executed
        Cbuf_InsertText(&cmd_client, "\nloadconfig\nvid_restart\n\n");