mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
[gamecode] Put strings and debug back in load funcs
It turns out they're required to be initialized before most of the rest of the system.
This commit is contained in:
parent
858ac19327
commit
db14025935
3 changed files with 2 additions and 2 deletions
|
@ -1702,7 +1702,6 @@ PR_Debug_Init (progs_t *pr)
|
|||
pr->hashlink_freelist);
|
||||
|
||||
PR_Resources_Register (pr, "PR_Debug", res, pr_debug_clear);
|
||||
PR_AddLoadFunc (pr, PR_LoadDebug);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -378,7 +378,9 @@ pr_run_ctors (progs_t *pr)
|
|||
}
|
||||
|
||||
static int (*load_funcs_1[])(progs_t *) = {
|
||||
PR_LoadStrings,
|
||||
PR_RelocateBuiltins,
|
||||
PR_LoadDebug,
|
||||
0,
|
||||
};
|
||||
|
||||
|
|
|
@ -1222,5 +1222,4 @@ PR_Strings_Init (progs_t *pr)
|
|||
res->print_str = dstring_new ();
|
||||
|
||||
PR_Resources_Register (pr, "Strings", res, pr_strings_clear);
|
||||
PR_AddLoadFunc (pr, PR_LoadStrings);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue