summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 12:55:58 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:20 +0000
commit564fbccd704780f16dd58e03278b11336944fb68 (patch)
treeb8ff124be0ad0491071c92e43a31c1a1c8a39142 /src/game/g_client.c
parent5d0545b0427813e9841d876d6022b5e4f664effd (diff)
add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlap
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 174498ab..51972395 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1134,6 +1134,14 @@ void ClientUserinfoChanged( int clientNum )
else
client->pers.flySpeed = BG_Class( PCL_NONE )->speed;
+ // disable blueprint errors
+ s = Info_ValueForKey( userinfo, "cg_disableBlueprintErrors" );
+
+ if( atoi( s ) )
+ client->pers.disableBlueprintErrors = qtrue;
+ else
+ client->pers.disableBlueprintErrors = qfalse;
+
// teamInfo
s = Info_ValueForKey( userinfo, "teamoverlay" );