mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[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:
parent
3c797e15e6
commit
6d64195a7b
1 changed files with 1 additions and 2 deletions
|
@ -237,8 +237,7 @@ init_qf (void)
|
||||||
PR_Init_Cvars ();
|
PR_Init_Cvars ();
|
||||||
|
|
||||||
pr_debug = 1 + verbosity;
|
pr_debug = 1 + verbosity;
|
||||||
free (pr_source_path);
|
Cvar_Set ("pr_source_path", source_path);
|
||||||
pr_source_path = (char *) source_path;
|
|
||||||
|
|
||||||
pr.pr_edicts = &edicts;
|
pr.pr_edicts = &edicts;
|
||||||
pr.num_edicts = &num_edicts;
|
pr.num_edicts = &num_edicts;
|
||||||
|
|
Loading…
Reference in a new issue