From: cloudwalk Date: Sun, 20 Dec 2020 18:55:22 +0000 (+0000) Subject: model_brush: Remove commented out code X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e1509161ac281e3c4225bf5cc679f073b8eba7ed;p=xonotic%2Fdarkplaces.git model_brush: Remove commented out code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13073 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;