From c5e256c0119b76e48213f557e0a644c5d37a34d3 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 10 Mar 2006 04:02:56 +0000 Subject: [PATCH] don't clear player entity when loading a savegame git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6086 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sv_main.c b/sv_main.c index f1bf0bc1..9c03d0a6 100644 --- a/sv_main.c +++ b/sv_main.c @@ -426,10 +426,10 @@ void SV_ConnectClient (int clientnum, netconn_t *netconnection) PRVM_ExecuteProgram (prog->globals.server->SetNewParms, "QC function SetNewParms is missing"); for (i=0 ; ispawn_parms[i] = (&prog->globals.server->parm1)[i]; - } - // set up the entity for this client (including .colormap, .team, etc) - PRVM_ED_ClearEdict(client->edict); + // set up the entity for this client (including .colormap, .team, etc) + PRVM_ED_ClearEdict(client->edict); + } // don't call SendServerinfo for a fresh botclient because its fields have // not been set up by the qc yet -- 2.39.2