mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[gamecode] Set pr_string_resources in PR_Strings_Init
Like for debug, this is the most sensible place as the pointer will never change.
This commit is contained in:
parent
5588d0de60
commit
f373192a02
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,6 @@ pr_strings_clear (progs_t *pr, void *data)
|
|||
res->rs_slot = rs;
|
||||
}
|
||||
|
||||
pr->pr_string_resources = res;
|
||||
pr->pr_xtstr = 0;
|
||||
}
|
||||
|
||||
|
@ -1227,4 +1226,5 @@ PR_Strings_Init (progs_t *pr)
|
|||
res->print_str = dstring_new ();
|
||||
|
||||
PR_Resources_Register (pr, "Strings", res, pr_strings_clear);
|
||||
pr->pr_string_resources = res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue