From e1509161ac281e3c4225bf5cc679f073b8eba7ed Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Sun, 20 Dec 2020 18:55:22 +0000 Subject: [PATCH] model_brush: Remove commented out code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13073 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index a40c8687..bf597303 100644 --- a/model_brush.c +++ b/model_brush.c @@ -3636,7 +3636,7 @@ static void Mod_BSP_RecursiveNodePortals(mnode_t *node) // TODO: calculate node bounding boxes during recursion and calculate a maximum plane size accordingly to improve precision (as most maps do not need 1 billion unit plane polygons) PolygonD_QuadForPlane(nodeportal->points, nodeportal->plane.normal[0], nodeportal->plane.normal[1], nodeportal->plane.normal[2], nodeportal->plane.dist, 1024.0*1024.0*1024.0); nodeportal->numpoints = 4; - // side = 0; // shut up compiler warning -> should be no longer needed, Host_Error is declared noreturn now + for (portal = (portal_t *)node->portals;portal;portal = portal->next[side]) { clipplane = portal->plane; -- 2.39.2