summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-03 12:36:22 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:06 +0000
commit567938d0a588d8e9230e1fe5f9d321c8ddd4aa54 (patch)
tree18cd3dd507332de23311d108fdf265c936223da1 /src/game/g_main.c
parentdee62e154291901073895a55715124061c61de03 (diff)
* Fix semicolon I forgot during the previous commit
* (bug 3997) Add g_specChat to silence chatty spectators during matches
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 8146f03f..0bda0a97 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -142,6 +142,7 @@ vmCvar_t g_adminTempBan;
vmCvar_t g_dretchPunt;
vmCvar_t g_privateMessages;
+vmCvar_t g_specChat;
vmCvar_t g_publicAdminMessages;
vmCvar_t g_tag;
@@ -273,6 +274,7 @@ static cvarTable_t gameCvarTable[ ] =
{ &g_dretchPunt, "g_dretchPunt", "0", CVAR_ARCHIVE, 0, qfalse },
{ &g_privateMessages, "g_privateMessages", "1", CVAR_ARCHIVE, 0, qfalse },
+ { &g_specChat, "g_specChat", "1", CVAR_ARCHIVE, 0, qfalse },
{ &g_publicAdminMessages, "g_publicAdminMessages", "1", CVAR_ARCHIVE, 0, qfalse },
{ &g_tag, "g_tag", "main", CVAR_INIT, 0, qfalse },