mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-07 16:31:32 +00:00
Avoid another segfault when debugging.
This commit is contained in:
parent
4336fc2c73
commit
57f735c99c
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,8 @@ PR_Get_Local_Def (progs_t *pr, pr_int_t offs)
|
||||||
if (!pr->pr_xfunction)
|
if (!pr->pr_xfunction)
|
||||||
return 0;
|
return 0;
|
||||||
func = pr->pr_xfunction->descriptor;
|
func = pr->pr_xfunction->descriptor;
|
||||||
|
if (!func)
|
||||||
|
return 0;
|
||||||
aux_func = pr->auxfunction_map[func - pr->pr_functions];
|
aux_func = pr->auxfunction_map[func - pr->pr_functions];
|
||||||
if (!aux_func)
|
if (!aux_func)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue