]> git.rm.cloudns.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)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 31 Oct 2011 08:06:43 +0000 (09:06 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11498 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=4f322e088b4d6abf0d1cff2f49b5684cb6d65f1d

model_brush.c

index fc6a3410cacc9511a6d3465839ae2f87bdc30377..0a0e7a8885c7fe24bf72457796b8f56d8b76e1b2 100644 (file)
@@ -1775,6 +1775,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
                {