]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
don't check mod_collision_bih in r_showcollisionbrushes because the old
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Feb 2010 00:20:36 +0000 (00:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 18 Feb 2010 00:20:36 +0000 (00:20 +0000)
code path was removed

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9971 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index a3b5b241cb601e7abf563de941d0f0a9b4a62d34..3635f19ffafeccd17248789a0b84ecc94ba25862 100644 (file)
@@ -12128,7 +12128,7 @@ void R_DrawDebugModel(void)
        GL_DepthMask(false);
        GL_BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 
-       if (r_showcollisionbrushes.value > 0 && model->collision_bih.numleafs && mod_collision_bih.integer)
+       if (r_showcollisionbrushes.value > 0 && model->collision_bih.numleafs)
        {
                int triangleindex;
                int bihleafindex;