From 46df7d8eda2636d64905e0c8092b148b5ea04e61 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 30 Mar 2007 08:31:10 +0000 Subject: [PATCH] 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 --- cl_screen.c | 9 --------- 1 file changed, 9 deletions(-) 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) -- 2.39.2