]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
check BoxTouchingPVS, not PointInLeaf
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Jan 2009 13:48:44 +0000 (13:48 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Jan 2009 13:48:44 +0000 (13:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8619 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index 8f1a05cf1327c7dc91edbb9641fc1870103792cb..48b26a9b798aebe697a7180adb85ba169d5d020e 100644 (file)
@@ -2468,7 +2468,7 @@ void R_DrawParticles (void)
                default:
                        if(!cl_particles_novis.integer)
                                if (!r_refdef.viewcache.world_novis)
-                                       if(r_refdef.scene.worldmodel->brush.PointInLeaf)
+                                       if(r_refdef.scene.worldmodel->brush.BoxTouchingPVS)
                                        {
                                                vec3_t mins, maxs, unit;
                                                VectorSet(unit, 1, 1, 1);