From 0c41c11f1d1ded3658a48f2ded559ce496c20938 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 22 Dec 2021 06:55:30 +0900 Subject: [PATCH] [gamecode] Use a new developer flag for builtin debug rua_resolve works for now --- include/QF/sys_developer.h | 1 + libs/gamecode/pr_builtins.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/QF/sys_developer.h b/include/QF/sys_developer.h index 46b36a1fd..3dd3ba303 100644 --- a/include/QF/sys_developer.h +++ b/include/QF/sys_developer.h @@ -36,6 +36,7 @@ SYS_DEVELOPER (fs_nf) SYS_DEVELOPER (fs_f) SYS_DEVELOPER (fs) SYS_DEVELOPER (net) +SYS_DEVELOPER (rua_resolve) SYS_DEVELOPER (rua_obj) SYS_DEVELOPER (rua_msg) SYS_DEVELOPER (snd) diff --git a/libs/gamecode/pr_builtins.c b/libs/gamecode/pr_builtins.c index b5c9ae0a0..b5332db7f 100644 --- a/libs/gamecode/pr_builtins.c +++ b/libs/gamecode/pr_builtins.c @@ -220,7 +220,7 @@ PR_RelocateBuiltins (progs_t *pr) ind = pr->bi_map (pr, ind); bi = PR_FindBuiltinNum (pr, ind); if (!bi || !(proc = bi->proc)) { - Sys_MaskPrintf (SYS_dev, + Sys_MaskPrintf (SYS_rua_resolve, "WARNING: Bad builtin call number: %s = #%d\n", bi_name, -desc->first_statement); proc = bi_no_function;