diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 386200e10..d2eef096e 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -477,7 +477,7 @@ void SV_DropClient (client_t *drop) } if (progstype == PROG_NQ) - ED_ClearEdict(svprogfuncs, drop->edict); + ED_Clear(svprogfuncs, drop->edict); } if (drop->spawninfo) diff --git a/engine/server/sv_user.c b/engine/server/sv_user.c index 21033097b..b3e06e750 100644 --- a/engine/server/sv_user.c +++ b/engine/server/sv_user.c @@ -3534,7 +3534,6 @@ void Cmd_SetPos_f(void) SV_LinkEdict (sv_player, false); } -void ED_ClearEdict (progfuncs_t *progfuncs, edict_t *e); void SV_SetUpClientEdict (client_t *cl, edict_t *ent) { extern int pr_teamfield; @@ -3550,7 +3549,7 @@ void SV_SetUpClientEdict (client_t *cl, edict_t *ent) #endif { 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); } ED_Spawned(ent, false);