[gamecode] Partially implement conversion code debug

The code is simply printed in octal for now, but it's better than
breaking the rest of the format string.
This commit is contained in:
Bill Currie 2022-01-21 10:12:50 +09:00
parent 578314c5a3
commit 16a203c643

View file

@ -1683,6 +1683,9 @@ PR_PrintStatement (progs_t *pr, dstatement_t *s, int contents)
str = dsprintf (res->dva, "%04x",
addr + (short) opval);
break;
case 'C':
str = dsprintf (res->dva, "%03o", opval);
break;
case 'E':
{
edict_t *ed = 0;