From 214432376054380f1f6ca38187510b8898057f52 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 11 Nov 2010 00:39:20 +0000 Subject: [PATCH] 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 --- gl_rsurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rsurf.c b/gl_rsurf.c index 44e45544..ca7ade0b 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -840,7 +840,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, -- 2.39.2