mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Make "bad type" output more useful.
Print the four (assumes non-v6) values in hex rather than "bad type".
This commit is contained in:
parent
ebfbd7c358
commit
f20424afe5
1 changed files with 4 additions and 1 deletions
|
@ -661,7 +661,10 @@ value_string (progs_t *pr, etype_t type, pr_type_t *val)
|
|||
dsprintf (line, "%d", val->integer_var);
|
||||
break;
|
||||
default:
|
||||
dsprintf (line, "bad type %i", type);
|
||||
//dsprintf (line, "bad type %i", type);
|
||||
dsprintf (line, "<%x %x %x %x>",
|
||||
val[0].integer_var, val[1].integer_var,
|
||||
val[2].integer_var, val[3].integer_var);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue