]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed restrictions on r_fullbright and r_ambient cvars (they can now be used in...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 30 Mar 2007 08:31:10 +0000 (08:31 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 30 Mar 2007 08:31:10 +0000 (08:31 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7028 d7cf8633-e32d-0410-b094-e92efae38249

cl_screen.c

index be1e35268c9a520aed002f914cb58a818076841f..d53b012cfcb881159ac586729b02c13be8d97636 100644 (file)
@@ -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)