From: lordhavoc Date: Mon, 29 Oct 2001 06:32:06 +0000 (+0000) Subject: minor whitespace tweak on loc1 label, removed old debugging warnings about not checki... X-Git-Tag: RELEASE_0_2_0_RC1~764 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5f31c863165197cd0ad4817d9db91d03133a6c55;p=xonotic%2Fdarkplaces.git minor whitespace tweak on loc1 label, removed old debugging warnings about not checking certain portals git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@968 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rsurf.c b/gl_rsurf.c index 5105a699..a5987aad 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -1756,7 +1756,7 @@ void R_PVSWorldNode() pstack[portalstack++] = p; goto loc0; - loc1: + loc1: p = pstack[--portalstack]; } } @@ -1767,18 +1767,6 @@ void R_PVSWorldNode() if (portalstack) goto loc1; - - i = 0; - portalstack = 0; - p = r_viewleaf->portals; - for (;p;p = p->next) - { - portalstack++; - if (p->past->worldnodeframe != r_framecount) - i++; - } - if (i) - Con_Printf("%i portals of viewleaf (%i portals) were not checked\n", i, portalstack); } else {