diff --git a/libs/gamecode/pr_debug.c b/libs/gamecode/pr_debug.c index 3df6ba2a8..61016e371 100644 --- a/libs/gamecode/pr_debug.c +++ b/libs/gamecode/pr_debug.c @@ -1641,7 +1641,8 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents) break; case 'V': opval += pr->pr_bases[opreg]; - str = global_string (&data, opval, ev_void, + optype = &res->void_type; + str = global_string (&data, opval, optype, contents & 1); break; case 'G':