[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 b65a269f3c
commit 62ccafca8c
1 changed files with 1 additions and 2 deletions

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;