From 4a7b8f8246ec4fc96c6fd049d8c649391d6079bd Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 21 Dec 2009 14:07:43 +0000 Subject: [PATCH] don't look up aux function info when we don't have it --- 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 6acf5f56f..f3b236c23 100644 --- a/libs/gamecode/engine/pr_debug.c +++ b/libs/gamecode/engine/pr_debug.c @@ -481,7 +481,7 @@ static pr_auxfunction_t * get_aux_function (progs_t *pr) { dfunction_t *func; - if (!pr->pr_xfunction) + if (!pr->pr_xfunction || !pr->auxfunction_map) return 0; func = pr->pr_xfunction->descriptor; return pr->auxfunction_map[func - pr->pr_functions];