mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
no code to dump for a null function
This commit is contained in:
parent
5d8bebfff8
commit
253d19876c
1 changed files with 16 additions and 14 deletions
|
@ -407,6 +407,7 @@ PR_Get_Local_Def (progs_t *pr, int offs)
|
|||
void
|
||||
PR_DumpState (progs_t *pr)
|
||||
{
|
||||
if (pr->pr_xfunction) {
|
||||
if (pr_debug->int_val && pr->debug) {
|
||||
pr_lineno_t *lineno;
|
||||
pr_auxfunction_t *func = 0;
|
||||
|
@ -424,6 +425,7 @@ PR_DumpState (progs_t *pr)
|
|||
PR_PrintStatement (pr, pr->pr_statements + addr++);
|
||||
}
|
||||
PR_PrintStatement (pr, pr->pr_statements + pr->pr_xstatement);
|
||||
}
|
||||
PR_StackTrace (pr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue