mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-22 03:41:07 +00:00
Merge pull request #23 from ScatterBox/main
Fix PF_etos to work in Quakespasm
This commit is contained in:
commit
02d6e4dd2a
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