]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
Fix a few warnings in VS2019.
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 32e1eaee865ca23e05f13e4bb2af503d3212f1e3..269490744ab7aacb7fdc3e6a250701f2546de8bb 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1574,15 +1574,15 @@ qbool FS_ChangeGameDirs(int numgamedirs, char gamedirs[][MAX_QPATH], qbool compl
 
        if (cls.demoplayback)
        {
-               CL_Disconnect_f(&cmd_local);
+               CL_Disconnect_f(&cmd_client);
                cls.demonum = 0;
        }
 
        // unload all sounds so they will be reloaded from the new files as needed
-       S_UnloadAllSounds_f(&cmd_local);
+       S_UnloadAllSounds_f(&cmd_client);
 
        // restart the video subsystem after the config is executed
-       Cbuf_InsertText(&cmd_local, "\nloadconfig\nvid_restart\n\n");
+       Cbuf_InsertText(&cmd_client, "\nloadconfig\nvid_restart\n\n");
 
        return true;
 }