mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +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)
|
||||
return 0;
|
||||
func = pr->pr_xfunction->descriptor;
|
||||
if (!func)
|
||||
return 0;
|
||||
aux_func = pr->auxfunction_map[func - pr->pr_functions];
|
||||
if (!aux_func)
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue