fix another bug caused by the function table changes

This commit is contained in:
Bill Currie 2007-04-08 00:56:35 +00:00 committed by Jeff Teunissen
parent e27b2a9e54
commit 3e92ac51fd

View file

@ -698,7 +698,7 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
static void
dump_frame (progs_t *pr, prstack_t *frame)
{
dfunction_t *f = frame->f->descriptor;
dfunction_t *f = frame->f ? frame->f->descriptor : 0;
if (!f) {
Sys_Printf ("<NO FUNCTION>\n");