Fix qfcc test harness tracing

Just a consequence of progs execution state being initialized properly.
This commit is contained in:
Bill Currie 2020-02-25 19:02:24 +09:00
parent 6739f5df4d
commit ca6fe0730b

View file

@ -150,8 +150,6 @@ init_qf (void)
pr.allocate_progs_mem = allocate_progs_mem;
pr.free_progs_mem = free_progs_mem;
pr.no_exec_limit = 0; // absolutely want a limit!
pr.pr_trace_depth = -1;
pr.pr_trace = options.trace;
PR_Init_Cvars ();
PR_Init (&pr);
@ -178,6 +176,8 @@ load_progs (const char *name)
Qclose (file);
if (!PR_RunLoadFuncs (&pr))
PR_Error (&pr, "unable to load %s", pr.progs_name);
pr.pr_trace_depth = -1;
pr.pr_trace = options.trace;
return 1;
}