X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=fs.c;fp=fs.c;h=87c5df4accacaa479f96ab0e2ebf5e4ca565fa84;hb=abfdafcf23981b3de44fcb031d462a568368111f;hp=74733bfb0f55ced81ac21d06f33ea18a15c2303c;hpb=c6d7670ed439522ba8be3959a0315cb8c4039a7f;p=xonotic%2Fdarkplaces.git diff --git a/fs.c b/fs.c index 74733bfb..87c5df4a 100644 --- 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_client); + 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_client); + S_UnloadAllSounds_f(cmd_client); // restart the video subsystem after the config is executed - Cbuf_InsertText(&cmd_client, "\nloadconfig\nvid_restart\n\n"); + Cbuf_InsertText(cmd_client, "\nloadconfig\nvid_restart\n\n"); return true; }