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;