mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
% vars now only work in say_team mode.
This commit is contained in:
parent
0a4676dccf
commit
6305a12a97
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.159 2002/08/17 01:56:31 jbravo
|
||||
// % vars now only work in say_team mode.
|
||||
//
|
||||
// Revision 1.158 2002/08/13 16:59:16 makro
|
||||
// Fixed per-client callvote limit; added a new cvar - g_RQ3_maxClientVotes
|
||||
//
|
||||
|
@ -1500,7 +1503,7 @@ void G_Say(gentity_t * ent, gentity_t * target, int mode, const char *chatText)
|
|||
}
|
||||
|
||||
// JBravo: Parsing % vars here
|
||||
if (ent->client->sess.sessionTeam != TEAM_SPECTATOR) {
|
||||
if (ent->client->sess.sessionTeam != TEAM_SPECTATOR && mode == SAY_TEAM) {
|
||||
ParseSayText(ent, (char *) chatText);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue