]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_exec.c
sys_win: Delete sys_win and conproc. We no longer use these.
[xonotic/darkplaces.git] / prvm_exec.c
index dc86140cad0e7c8cbb34187672667a33e1f35011..fd0ff40b9f5fe802adea919a93cc0e288c68a419 100644 (file)
@@ -715,6 +715,9 @@ extern cvar_t prvm_errordump;
 void PRVM_Crash(prvm_prog_t *prog)
 {
        char vabuf[1024];
+
+       cl.csqc_loaded = false;
+
        if (prog == NULL)
                return;
        if (!prog->loaded)
@@ -909,7 +912,7 @@ static void PRVM_StatementCoverageEvent(prvm_prog_t *prog, mfunction_t *func, in
 #define OPC ((prvm_eval_t *)&globals[st->operand[2]])
 extern cvar_t prvm_traceqc;
 extern cvar_t prvm_statementprofiling;
-extern qboolean prvm_runawaycheck;
+extern qbool prvm_runawaycheck;
 
 #ifdef PROFILING
 #ifdef CONFIG_MENU
@@ -940,7 +943,7 @@ void MVM_ExecuteProgram (prvm_prog_t *prog, func_t fnum, const char *errormessag
        unsigned int cached_max_edicts = prog->max_edicts;
        // these do not change
        mstatement_t *cached_statements = prog->statements;
-       qboolean cached_allowworldwrites = prog->allowworldwrites;
+       qbool cached_allowworldwrites = prog->allowworldwrites;
        unsigned int cached_flag = prog->flag;
 
        prvm_vec_t *globals = prog->globals.fp;
@@ -1049,7 +1052,7 @@ void CLVM_ExecuteProgram (prvm_prog_t *prog, func_t fnum, const char *errormessa
        unsigned int cached_max_edicts = prog->max_edicts;
        // these do not change
        mstatement_t *cached_statements = prog->statements;
-       qboolean cached_allowworldwrites = prog->allowworldwrites;
+       qbool cached_allowworldwrites = prog->allowworldwrites;
        unsigned int cached_flag = prog->flag;
 
        prvm_vec_t *globals = prog->globals.fp;
@@ -1162,7 +1165,7 @@ void PRVM_ExecuteProgram (prvm_prog_t *prog, func_t fnum, const char *errormessa
        unsigned int cached_max_edicts = prog->max_edicts;
        // these do not change
        mstatement_t *cached_statements = prog->statements;
-       qboolean cached_allowworldwrites = prog->allowworldwrites;
+       qbool cached_allowworldwrites = prog->allowworldwrites;
        unsigned int cached_flag = prog->flag;
 
        prvm_vec_t *globals = prog->globals.fp;