mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
More colorfixes
This commit is contained in:
parent
d6fb148c82
commit
8defdf11e0
1 changed files with 6 additions and 3 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.64 2002/06/07 03:03:02 jbravo
|
||||||
|
// More colorfixes
|
||||||
|
//
|
||||||
// Revision 1.63 2002/06/05 23:36:39 niceass
|
// Revision 1.63 2002/06/05 23:36:39 niceass
|
||||||
// "ready" command lag fix
|
// "ready" command lag fix
|
||||||
//
|
//
|
||||||
|
@ -2101,11 +2104,11 @@ void SetLeader(int team, int client) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if ( level.clients[client].pers.connected == CON_DISCONNECTED ) {
|
if ( level.clients[client].pers.connected == CON_DISCONNECTED ) {
|
||||||
PrintTeam(team, va("print \"%s is not connected\n\"", level.clients[client].pers.netname) );
|
PrintTeam(team, va("print \"%s^7 is not connected\n\"", level.clients[client].pers.netname) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (level.clients[client].sess.sessionTeam != team) {
|
if (level.clients[client].sess.sessionTeam != team) {
|
||||||
PrintTeam(team, va("print \"%s is not on the team anymore\n\"", level.clients[client].pers.netname) );
|
PrintTeam(team, va("print \"%s^7 is not on the team anymore\n\"", level.clients[client].pers.netname) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for ( i = 0 ; i < level.maxclients ; i++ ) {
|
for ( i = 0 ; i < level.maxclients ; i++ ) {
|
||||||
|
@ -2118,7 +2121,7 @@ void SetLeader(int team, int client) {
|
||||||
}
|
}
|
||||||
level.clients[client].sess.teamLeader = qtrue;
|
level.clients[client].sess.teamLeader = qtrue;
|
||||||
ClientUserinfoChanged( client );
|
ClientUserinfoChanged( client );
|
||||||
PrintTeam(team, va("print \"%s is the new team leader\n\"", level.clients[client].pers.netname) );
|
PrintTeam(team, va("print \"%s^7 is the new team leader\n\"", level.clients[client].pers.netname) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue