mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
don't look up aux function info when we don't have it
This commit is contained in:
parent
c9484af217
commit
4a7b8f8246
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ static pr_auxfunction_t *
|
|||
get_aux_function (progs_t *pr)
|
||||
{
|
||||
dfunction_t *func;
|
||||
if (!pr->pr_xfunction)
|
||||
if (!pr->pr_xfunction || !pr->auxfunction_map)
|
||||
return 0;
|
||||
func = pr->pr_xfunction->descriptor;
|
||||
return pr->auxfunction_map[func - pr->pr_functions];
|
||||
|
|
Loading…
Reference in a new issue