From: havoc Date: Thu, 11 Nov 2010 00:39:20 +0000 (+0000) Subject: fix serious bug with stencil shadows from world caused by a mysterious #if 0 X-Git-Tag: xonotic-v0.1.0preview~72 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=380c83758fd51d7dd2d53802141e63747fe2dbd1;p=xonotic%2Fdarkplaces.git fix serious bug with stencil shadows from world caused by a mysterious #if 0 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10585 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=214432376054380f1f6ca38187510b8898057f52 --- diff --git a/gl_rsurf.c b/gl_rsurf.c index d3b941aa..8027d960 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -842,7 +842,7 @@ static void R_Q1BSP_RecursiveGetLightInfo(r_q1bsp_getlightinfo_t *info, mnode_t if (castshadow) SETPVSBIT(info->outshadowtrispvs, t); } -#if 0 +#if 1 else if (r_shadow_frontsidecasting.integer) { // front side casting occludes backfaces,