[gamecode] Print invalid opcodes correctly

Hex is better for opcodes than octal. Probably copied from one of the
sub-instruction opcode error messages.
This commit is contained in:
Bill Currie 2023-09-08 11:12:37 +09:00
parent 51fbdfe87d
commit 2e2dedfd78

View file

@ -2907,7 +2907,7 @@ pr_exec_ruamoko (progs_t *pr, int exitdepth)
}
break;
default:
PR_RunError (pr, "Bad opcode o%03o", st->op & OP_MASK);
PR_RunError (pr, "Bad opcode x%03x", st->op & OP_MASK);
}
if (pr->watch && pr->watch->value != old_val.value) {
if (!pr->wp_conditional