A small fix type thing.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1840 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bc745ba504
commit
1f1a157ddd
1 changed files with 4 additions and 1 deletions
|
@ -523,7 +523,10 @@ char *PR_ValueString (progfuncs_t *progfuncs, etype_t type, eval_t *val)
|
|||
break;
|
||||
case ev_field:
|
||||
fielddef = ED_FieldAtOfs (progfuncs, val->_int );
|
||||
sprintf (line, ".%s (%i)", fielddef->name, val->_int);
|
||||
if (!fielddef)
|
||||
sprintf (line, ".??? (%i)", val->_int);
|
||||
else
|
||||
sprintf (line, ".%s (%i)", fielddef->name, val->_int);
|
||||
break;
|
||||
case ev_void:
|
||||
sprintf (line, "void type");
|
||||
|
|
Loading…
Reference in a new issue