From dc374cebe1da68f4fa022b6c3cb07ef6ed29294f Mon Sep 17 00:00:00 2001 From: Bryce Hutchings Date: Wed, 5 Jun 2002 22:09:21 +0000 Subject: [PATCH] bot fix. NOT MY FAULT --- reaction/game/g_client.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/reaction/game/g_client.c b/reaction/game/g_client.c index ce4656db..378a237f 100644 --- a/reaction/game/g_client.c +++ b/reaction/game/g_client.c @@ -5,6 +5,9 @@ //----------------------------------------------------------------------------- // // $Log$ +// Revision 1.85 2002/06/05 22:09:21 niceass +// bot fix. NOT MY FAULT +// // Revision 1.84 2002/06/04 08:25:44 niceass // cgame team fix. (when you change your name, etc) // @@ -1084,7 +1087,7 @@ void ClientUserinfoChanged( int clientNum ) { } } else { - team = client->sess.savedTeam; + team = client->sess.sessionTeam; } /* NOTE: all client side now @@ -1708,13 +1711,13 @@ void ClientSpawn(gentity_t *ent) { G_SetOrigin( ent, spawn_origin ); VectorCopy( spawn_origin, client->ps.origin ); + // the respawned flag will be cleared after the attack and jump keys come up + client->ps.pm_flags |= PMF_RESPAWNED; + trap_GetUsercmd( client - level.clients, &ent->client->pers.cmd ); SetClientViewAngle( ent, spawn_angles ); - // the respawned flag will be cleared after the attack and jump keys come up - client->ps.pm_flags |= PMF_RESPAWNED; - if ( ent->client->sess.sessionTeam == TEAM_SPECTATOR ) { } else {