summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_client.c2
-rw-r--r--src/game/g_main.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 5e15162f..edb8942c 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1313,7 +1313,6 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
ent->s.groundEntityNum = ENTITYNUM_NONE;
ent->client = &level.clients[ index ];
ent->takedamage = qtrue;
- ent->inuse = qtrue;
ent->classname = "player";
ent->r.contents = CONTENTS_BODY;
ent->clipmask = MASK_PLAYERSOLID;
@@ -1538,7 +1537,6 @@ void ClientDisconnect( int clientNum )
ent->client->pers.ip.str, ent->client->pers.guid, ent->client->pers.netname );
trap_UnlinkEntity( ent );
- ent->s.modelindex = 0;
ent->inuse = qfalse;
ent->classname = "disconnected";
ent->client->pers.connected = CON_DISCONNECTED;
diff --git a/src/game/g_main.c b/src/game/g_main.c
index cddd5135..d262a011 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -1537,7 +1537,6 @@ void MoveClientToIntermission( gentity_t *ent )
ent->client->ps.eFlags = 0;
ent->s.eFlags = 0;
ent->s.eType = ET_GENERAL;
- ent->s.modelindex = 0;
ent->s.loopSound = 0;
ent->s.event = 0;
ent->r.contents = 0;