From 3e92ac51fd43698b7201f8373f156c3d5e8349b5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 8 Apr 2007 00:56:35 +0000 Subject: [PATCH] fix another bug caused by the function table changes --- libs/gamecode/engine/pr_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gamecode/engine/pr_debug.c b/libs/gamecode/engine/pr_debug.c index 7efd06a56..3dac2032f 100644 --- a/libs/gamecode/engine/pr_debug.c +++ b/libs/gamecode/engine/pr_debug.c @@ -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 ("\n");