From 015cbb1061dbc3513269aa9a2bb24a0d12d54a8d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 8 Mar 2016 21:29:13 +0100 Subject: [PATCH] - revert accidentally committed debug code. --- src/r_bsp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/r_bsp.cpp b/src/r_bsp.cpp index 861040cf0..97ac7e5e3 100644 --- a/src/r_bsp.cpp +++ b/src/r_bsp.cpp @@ -1092,7 +1092,7 @@ void R_Subsector (subsector_t *sub) basecolormap = frontsector->ColorMap; } - skybox = NULL;// frontsector->GetSkyBox(sector_t::ceiling); + skybox = frontsector->GetSkyBox(sector_t::ceiling); if (skybox != NULL && skybox->special1 >= SKYBOX_PLANE) skybox = NULL; // skip unsupported portal types ceilingplane = frontsector->ceilingplane.PointOnSide(viewx, viewy, viewz) > 0 || @@ -1134,7 +1134,7 @@ void R_Subsector (subsector_t *sub) // killough 3/7/98: Add (x,y) offsets to flats, add deep water check // killough 3/16/98: add floorlightlevel // killough 10/98: add support for skies transferred from sidedefs - skybox = NULL;// frontsector->GetSkyBox(sector_t::floor); + skybox = frontsector->GetSkyBox(sector_t::floor); if (skybox != NULL && skybox->special1 >= SKYBOX_PLANE) skybox = NULL; // skip unsupported portal types floorplane = frontsector->floorplane.PointOnSide(viewx, viewy, viewz) > 0 || // killough 3/7/98