pr_edict.c: changed the type arguments of PR_ValueString() and PR_UglyValueString()

from etype_t to int for C++ compatibility. from uhexen2.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@306 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-08-29 12:36:03 +00:00
parent 94fd50da1e
commit ac8fd3e7b0
1 changed files with 4 additions and 2 deletions

View File

@ -295,11 +295,12 @@ Done:
/*
============
PR_ValueString
(etype_t type, eval_t *val)
Returns a string describing *data in a type specific manner
=============
*/
const char *PR_ValueString (etype_t type, eval_t *val)
const char *PR_ValueString (int type, eval_t *val)
{
static char line[256];
ddef_t *def;
@ -346,12 +347,13 @@ const char *PR_ValueString (etype_t type, eval_t *val)
/*
============
PR_UglyValueString
(etype_t type, eval_t *val)
Returns a string describing *data in a type specific manner
Easier to parse than PR_ValueString
=============
*/
const char *PR_UglyValueString (etype_t type, eval_t *val)
const char *PR_UglyValueString (int type, eval_t *val)
{
static char line[256];
ddef_t *def;