[qfcc] Fix incorrect progs source path handling

The cvar rewrite changed how to deal with cvar setting in code and I
messed it up for qfprogs.
This commit is contained in:
Bill Currie 2022-09-14 22:10:11 +09:00
parent 3c797e15e6
commit 6d64195a7b

View file

@ -237,8 +237,7 @@ init_qf (void)
PR_Init_Cvars ();
pr_debug = 1 + verbosity;
free (pr_source_path);
pr_source_path = (char *) source_path;
Cvar_Set ("pr_source_path", source_path);
pr.pr_edicts = &edicts;
pr.num_edicts = &num_edicts;