summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-06 07:18:14 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:40 +0000
commit16e3d9f955fd7feb25b9c2cb1a3884123bdb8c76 (patch)
tree9f7cc22e0d739f2391477242e6b18f8f0ad72ede /src/game/g_cmds.c
parent7e5f69e66c03299cde62da178f3c9b97319c20ba (diff)
* Remove many unused cvars that don't do anything
* Remove g_adminNameProtect, force it on * Remove g_chatTeamPrefix, force it on
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 4cbfa35b..afa7b5eb 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -713,7 +713,7 @@ void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chatText )
char text[ MAX_SAY_TEXT ];
char location[ 64 ];
- if( ent && g_chatTeamPrefix.integer )
+ if( ent )
{
prefix = BG_TeamName( ent->client->pers.teamSelection );
prefix = va( "[%c] ", toupper( *prefix ) );
@@ -794,13 +794,8 @@ static void Cmd_SayArea_f( gentity_t *ent )
for(i = 0; i < 3; i++ )
range[ i ] = g_sayAreaRange.value;
- if( g_chatTeamPrefix.integer )
- {
- prefix = BG_TeamName( ent->client->pers.teamSelection );
- prefix = va( "[%c] ", toupper( *prefix ) );
- }
- else
- prefix = "";
+ prefix = BG_TeamName( ent->client->pers.teamSelection );
+ prefix = va( "[%c] ", toupper( *prefix ) );
G_LogPrintf( "sayarea: %s%s^7: %s\n", prefix, ent->client->pers.netname, msg );
Com_sprintf( name, sizeof( name ), "%s<%s%c%c> ",