]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
hit q1bsp sky as a solid in surface traceline
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Oct 2011 07:57:35 +0000 (07:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 31 Oct 2011 07:57:35 +0000 (07:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11498 d7cf8633-e32d-0410-b094-e92efae38249

model_brush.c

index 50ef572b9724819bc0535f5f5f14029196b94c21..66128d9a7dcb4045831d0e2b16e2ce4a21a5dd7a 100644 (file)
@@ -1776,6 +1776,7 @@ static void Mod_Q1BSP_LoadTextures(lump_t *l)
                {
                        tx->supercontents = mod_q1bsp_texture_sky.supercontents;
                        tx->surfaceflags = mod_q1bsp_texture_sky.surfaceflags;
+                       tx->supercontents |= SUPERCONTENTS_SOLID; // for the surface traceline we need to hit this surface as a solid...
                }
                else
                {