mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
support printing uinteger values
This commit is contained in:
parent
3d5447c71f
commit
4af2b18703
1 changed files with 3 additions and 0 deletions
|
@ -400,6 +400,9 @@ PR_ValueString (progs_t * pr, etype_t type, pr_type_t *val)
|
||||||
case ev_integer:
|
case ev_integer:
|
||||||
snprintf (line, sizeof (line), "%d", val->integer_var);
|
snprintf (line, sizeof (line), "%d", val->integer_var);
|
||||||
break;
|
break;
|
||||||
|
case ev_uinteger:
|
||||||
|
snprintf (line, sizeof (line), "%u", val->uinteger_var);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
snprintf (line, sizeof (line), "bad type %i", type);
|
snprintf (line, sizeof (line), "bad type %i", type);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue