[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:
Bill Currie 2021-12-26 22:46:07 +09:00
parent 5588d0de60
commit f373192a02

View file

@ -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;
}