mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Ensure auxfunction_map is properly initialized.
This commit is contained in:
parent
71c05bd899
commit
de33cd6017
1 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,8 @@ PR_LoadDebug (progs_t *pr)
|
|||
|
||||
i = pr->progs->numfunctions * sizeof (pr_auxfunction_t *);
|
||||
pr->auxfunction_map = pr->allocate_progs_mem (pr, i);
|
||||
for (i = 0; (int) i < pr->progs->numfunctions; i++) //FIXME (cast)
|
||||
pr->auxfunction_map[i] = 0;
|
||||
|
||||
for (i = 0; i < pr->debug->num_auxfunctions; i++) {
|
||||
pr->auxfunctions[i].function = LittleLong
|
||||
|
|
Loading…
Reference in a new issue