mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-23 20:52:16 +00:00
Removing locations from teamtalk on dead players.
This commit is contained in:
parent
1c53102d76
commit
6e3cf1c5dd
1 changed files with 5 additions and 7 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.76 2002/03/18 04:37:10 jbravo
|
||||||
|
// Removing locations from teamtalk on dead players.
|
||||||
|
//
|
||||||
// Revision 1.75 2002/03/18 01:22:35 slicer
|
// Revision 1.75 2002/03/18 01:22:35 slicer
|
||||||
// bandage bleedtick back to original
|
// bandage bleedtick back to original
|
||||||
//
|
//
|
||||||
|
@ -1222,13 +1225,8 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
|
||||||
break;
|
break;
|
||||||
case SAY_TEAM:
|
case SAY_TEAM:
|
||||||
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR) {
|
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR) {
|
||||||
if (Team_GetLocationMsg(ent, location, sizeof(location))) {
|
Com_sprintf (name, sizeof(name), EC"[DEAD] (%s%c%c"EC")"EC": ",
|
||||||
Com_sprintf (name, sizeof(name), EC"[DEAD] (%s%c%c"EC") (%s)"EC": ",
|
ent->client->pers.netname, Q_COLOR_ESCAPE, COLOR_WHITE );
|
||||||
ent->client->pers.netname, Q_COLOR_ESCAPE, COLOR_WHITE, location);
|
|
||||||
} else {
|
|
||||||
Com_sprintf (name, sizeof(name), EC"[DEAD] (%s%c%c"EC")"EC": ",
|
|
||||||
ent->client->pers.netname, Q_COLOR_ESCAPE, COLOR_WHITE );
|
|
||||||
}
|
|
||||||
// G_LogPrintf( "[DEAD] (%s): %s\n", ent->client->pers.netname, chatText );
|
// G_LogPrintf( "[DEAD] (%s): %s\n", ent->client->pers.netname, chatText );
|
||||||
} else {
|
} else {
|
||||||
if (Team_GetLocationMsg(ent, location, sizeof(location)))
|
if (Team_GetLocationMsg(ent, location, sizeof(location)))
|
||||||
|
|
Loading…
Reference in a new issue