mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Fix PF_etos to work in Quakespasm
just incase we ever want to use it?
This commit is contained in:
parent
3fcbf380ae
commit
b918891258
1 changed files with 6 additions and 2 deletions
|
@ -1221,8 +1221,12 @@ static void PF_vtos (void)
|
|||
|
||||
void PF_etos (void)
|
||||
{
|
||||
//sprintf (pr_string_temp, "entity %i", G_EDICTNUM(OFS_PARM0));
|
||||
//G_INT(OFS_RETURN) = pr_string_temp - pr_strings;
|
||||
char *s;
|
||||
|
||||
s = PR_GetTempString();
|
||||
|
||||
sprintf (s, "entity %i", G_EDICTNUM(OFS_PARM0));
|
||||
G_INT(OFS_RETURN) = s - pr_strings;
|
||||
}
|
||||
|
||||
static void PF_Spawn (void)
|
||||
|
|
Loading…
Reference in a new issue