cgame team fix. (when you change your name, etc)

This commit is contained in:
Bryce Hutchings 2002-06-04 08:25:44 +00:00
parent 673cef5d49
commit 752883bd5b
1 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.84 2002/06/04 08:25:44 niceass
// cgame team fix. (when you change your name, etc)
//
// Revision 1.83 2002/06/04 07:12:32 niceass
// spectators spawn where you are rather than at a spawnpoint
//
@ -1081,7 +1084,7 @@ void ClientUserinfoChanged( int clientNum ) {
}
}
else {
team = client->sess.sessionTeam;
team = client->sess.savedTeam;
}
/* NOTE: all client side now
@ -1159,7 +1162,7 @@ void ClientUserinfoChanged( int clientNum ) {
Info_ValueForKey( userinfo, "skill" ), teamTask, teamLeader, Info_ValueForKey(userinfo, "tpw"), Info_ValueForKey(userinfo, "tpi"));
} else {
s = va("n\\%s\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\g_blueteam\\%s\\c1\\%s\\c2\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
client->pers.netname, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2,
client->pers.netname, client->sess.savedTeam, model, headModel, redTeam, blueTeam, c1, c2,
client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader);
}