diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-10-20 05:55:52 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:42 +0000 |
commit | 067841db3f3ea4a8bf93580e42945d73fc81f14b (patch) | |
tree | a04ea06c5900c7614ff8aa5edc5a1c97e5ba3a39 /src/game/g_main.c | |
parent | 3e5b31af20cb275d777eb2d006b9d525e4f08c7e (diff) |
* (bug 3495) Add support for message censorship (cue "finally!")
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index b5d409f1..bdc948e1 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -133,6 +133,8 @@ vmCvar_t g_specChat; vmCvar_t g_publicAdminMessages; vmCvar_t g_allowTeamOverlay; +vmCvar_t g_censorship; + vmCvar_t g_tag; static cvarTable_t gameCvarTable[ ] = @@ -254,6 +256,8 @@ static cvarTable_t gameCvarTable[ ] = { &g_publicAdminMessages, "g_publicAdminMessages", "1", CVAR_ARCHIVE, 0, qfalse }, { &g_allowTeamOverlay, "g_allowTeamOverlay", "1", CVAR_ARCHIVE, 0, qtrue }, + { &g_censorship, "g_censorship", "", CVAR_ARCHIVE, 0, qfalse }, + { &g_tag, "g_tag", "main", CVAR_INIT, 0, qfalse } }; @@ -559,6 +563,7 @@ void G_InitGame( int levelTime, int randomSeed, int restart ) G_RegisterCommands( ); G_admin_readconfig( NULL ); + G_LoadCensors( ); // initialize all entities for this game memset( g_entities, 0, MAX_GENTITIES * sizeof( g_entities[ 0 ] ) ); |