From c25e68ecaf38425f0a0d5076ed3ea1cf9bbe6d51 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 17 Jan 2013 16:42:28 +0900 Subject: [PATCH] Use hex output for %E opcode format specifier. This makes %E's addresses consistent with other address output. --- libs/gamecode/pr_debug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/gamecode/pr_debug.c b/libs/gamecode/pr_debug.c index eadcc19b4..602a2cc15 100644 --- a/libs/gamecode/pr_debug.c +++ b/libs/gamecode/pr_debug.c @@ -932,8 +932,9 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents) str = "bad entity.field"; break; } - str = global_string (pr, opval, optype, contents & 1); - str = va ("%d %d %s", s->a, s->b, str); + str = global_string (pr, opval, optype, + contents & 1); + str = va ("$%x $%x %s", s->a, s->b, str); } break; default: