mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
[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:
parent
51fbdfe87d
commit
2e2dedfd78
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue