might compile now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3537 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bde4965f59
commit
8e59a22e8f
2 changed files with 2 additions and 3 deletions
|
@ -477,7 +477,7 @@ void SV_DropClient (client_t *drop)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (progstype == PROG_NQ)
|
if (progstype == PROG_NQ)
|
||||||
ED_ClearEdict(svprogfuncs, drop->edict);
|
ED_Clear(svprogfuncs, drop->edict);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (drop->spawninfo)
|
if (drop->spawninfo)
|
||||||
|
|
|
@ -3534,7 +3534,6 @@ void Cmd_SetPos_f(void)
|
||||||
SV_LinkEdict (sv_player, false);
|
SV_LinkEdict (sv_player, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ED_ClearEdict (progfuncs_t *progfuncs, edict_t *e);
|
|
||||||
void SV_SetUpClientEdict (client_t *cl, edict_t *ent)
|
void SV_SetUpClientEdict (client_t *cl, edict_t *ent)
|
||||||
{
|
{
|
||||||
extern int pr_teamfield;
|
extern int pr_teamfield;
|
||||||
|
@ -3550,7 +3549,7 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
if (progstype != PROG_NQ) //allow frikbots to work in NQ mods (but not qw!)
|
if (progstype != PROG_NQ) //allow frikbots to work in NQ mods (but not qw!)
|
||||||
ED_ClearEdict(svprogfuncs, ent);
|
ED_Clear(svprogfuncs, ent);
|
||||||
ent->v->netname = PR_SetString(svprogfuncs, cl->name);
|
ent->v->netname = PR_SetString(svprogfuncs, cl->name);
|
||||||
}
|
}
|
||||||
ED_Spawned(ent, false);
|
ED_Spawned(ent, false);
|
||||||
|
|
Loading…
Reference in a new issue