Restore PF_etos in Quakespasm

This commit is contained in:
Tyler Young 2023-01-22 21:07:17 -05:00
parent 9f6cae98f8
commit 396898a992

View file

@ -1219,6 +1219,12 @@ static void PF_vtos (void)
G_INT(OFS_RETURN) = PR_SetEngineString(s); G_INT(OFS_RETURN) = PR_SetEngineString(s);
} }
void PF_etos (void)
{
sprintf (pr_string_temp, "entity %i", G_EDICTNUM(OFS_PARM0));
G_INT(OFS_RETURN) = pr_string_temp - pr_strings;
}
static void PF_Spawn (void) static void PF_Spawn (void)
{ {
edict_t *ed; edict_t *ed;
@ -3289,7 +3295,7 @@ static builtin_t pr_builtin[] =
PF_Fixme, // #62 PF_Fixme, // #62
PF_Fixme, // #63 PF_Fixme, // #63
PF_Fixme, // #64 PF_Fixme, // #64
PF_Fixme, // #65 PF_etos, // #65
PF_Fixme, // #66 PF_Fixme, // #66
SV_MoveToGoal, // #67 SV_MoveToGoal, // #67
PF_precache_file, // #68 PF_precache_file, // #68