]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_main.c
move the -1 setting of csqc_* to a better place (argh...)
[xonotic/darkplaces.git] / cl_main.c
index 070982e549d97b9cf1f58e8a1131007e94e31751..7e8d834bd573d177b02fc86211ee79396a3d9e9a 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -304,6 +304,8 @@ void CL_Disconnect(void)
 
        Con_DPrintf("CL_Disconnect\n");
 
+    Cvar_SetValueQuick(&csqc_progcrc, -1);
+       Cvar_SetValueQuick(&csqc_progsize, -1);
        CL_VM_ShutDown();
 // stop sounds (especially looping!)
        S_StopAllSounds ();