mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
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: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@306 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
4e60e59d39
commit
cecbdc723c
1 changed files with 4 additions and 2 deletions
|
@ -295,11 +295,12 @@ Done:
|
||||||
/*
|
/*
|
||||||
============
|
============
|
||||||
PR_ValueString
|
PR_ValueString
|
||||||
|
(etype_t type, eval_t *val)
|
||||||
|
|
||||||
Returns a string describing *data in a type specific manner
|
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];
|
static char line[256];
|
||||||
ddef_t *def;
|
ddef_t *def;
|
||||||
|
@ -346,12 +347,13 @@ const char *PR_ValueString (etype_t type, eval_t *val)
|
||||||
/*
|
/*
|
||||||
============
|
============
|
||||||
PR_UglyValueString
|
PR_UglyValueString
|
||||||
|
(etype_t type, eval_t *val)
|
||||||
|
|
||||||
Returns a string describing *data in a type specific manner
|
Returns a string describing *data in a type specific manner
|
||||||
Easier to parse than PR_ValueString
|
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];
|
static char line[256];
|
||||||
ddef_t *def;
|
ddef_t *def;
|
||||||
|
|
Loading…
Reference in a new issue