From cbd5c703201e0bfb982703a02dc37263081bae3e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 31 Jul 2003 01:57:29 +0000 Subject: [PATCH] oops, %O should be in hex --- 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 9121c6983..b23cac36d 100644 --- a/libs/gamecode/engine/pr_debug.c +++ b/libs/gamecode/engine/pr_debug.c @@ -514,7 +514,7 @@ PR_PrintStatement (progs_t * pr, dstatement_t *s) dasprintf (line, "%d", (short) opval); break; case 'O': - dasprintf (line, "%d", addr + (short) opval); + dasprintf (line, "%04x", addr + (short) opval); break; default: goto err;