fix serious bug with stencil shadows from world caused by a mysterious #if 0
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 11 Nov 2010 00:39:20 +0000 (00:39 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 11 Nov 2010 00:39:20 +0000 (00:39 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10585 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 44e4554..ca7ade0 100644 (file)
@@ -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,