From: havoc Date: Fri, 30 Mar 2007 08:31:10 +0000 (+0000) Subject: removed restrictions on r_fullbright and r_ambient cvars (they can now be used in... X-Git-Tag: xonotic-v0.1.0preview~3390 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=46df7d8eda2636d64905e0c8092b148b5ea04e61;p=xonotic%2Fdarkplaces.git removed restrictions on r_fullbright and r_ambient cvars (they can now be used in multiplayer) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7028 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_screen.c b/cl_screen.c index be1e3526..d53b012c 100644 --- a/cl_screen.c +++ b/cl_screen.c @@ -1691,15 +1691,6 @@ void CL_UpdateScreen(void) if (!scr_initialized || !con_initialized) return; // not initialized yet - // don't allow cheats in multiplayer - if (!cl.islocalgame && cl.worldmodel) - { - if (r_fullbright.integer != 0) - Cvar_Set ("r_fullbright", "0"); - if (r_ambient.value != 0) - Cvar_Set ("r_ambient", "0"); - } - conwidth = bound(320, vid_conwidth.value, 2048); conheight = bound(200, vid_conheight.value, 1536); if (vid_conwidth.value != conwidth)