]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
PRVM: don't break csqc when menuqc has a problem
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 25 Feb 2024 22:27:35 +0000 (08:27 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 26 Feb 2024 09:30:08 +0000 (19:30 +1000)
Fixes a regression in 3d84db99ed9d8234809d237512f44cfa6d7ce1a0 caused by
moving this line such that it executes even for MVM errors. We don't
need it because it's done by Host_Error->CL_DisconnectEx->CL_VM_ShutDown

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
prvm_exec.c

index 4c50ff6ecd160493b7c8828703ea7617c50f38ab..f24838e5db588dd11e2b645f1dbde2b6188ac73a 100644 (file)
@@ -720,8 +720,6 @@ void PRVM_Crash(prvm_prog_t *prog)
        char vabuf[1024];
        int outfd = sys.outfd;
 
-       cl.csqc_loaded = false;
-
        if (prog == NULL)
                return;
        if (!prog->loaded)