Fix PF_etos to work in Quakespasm

just incase we ever want to use it?
This commit is contained in:
Tyler Young 2023-01-22 21:59:54 -05:00
parent 3fcbf380ae
commit b918891258

View file

@ -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)