stringtonative knows better
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2798 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ebb397ddf4
commit
1c85bc472b
1 changed files with 1 additions and 4 deletions
|
@ -606,10 +606,7 @@ char *PR_UglyValueString (progfuncs_t *progfuncs, etype_t type, eval_t *val)
|
|||
sprintf (line, "unions cannot yet be saved");
|
||||
break;
|
||||
case ev_string:
|
||||
if ((unsigned)val->_int > (unsigned)addressableused)
|
||||
_snprintf (line, sizeof(line), "CORRUPT STRING");
|
||||
else
|
||||
_snprintf (line, sizeof(line), "%s", PR_StringToNative(progfuncs, val->string));
|
||||
_snprintf (line, sizeof(line), "%s", PR_StringToNative(progfuncs, val->string));
|
||||
break;
|
||||
case ev_entity:
|
||||
sprintf (line, "%i", val->_int);
|
||||
|
|
Loading…
Reference in a new issue