mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
code cleanup
This commit is contained in:
parent
663c58cd24
commit
5902dcca6a
1 changed files with 2 additions and 13 deletions
|
@ -801,12 +801,7 @@ R_RecursiveWorldNode (mnode_t *node)
|
|||
side = dot < 0;
|
||||
|
||||
// recurse down the children, front side first
|
||||
// LordHavoc: save a stack frame by avoiding a call
|
||||
if (node->children[side]->contents != CONTENTS_SOLID
|
||||
&& node->children[side]->visframe == r_visframecount
|
||||
&& !R_CullBox (node->children[side]->minmaxs,
|
||||
node->children[side]->minmaxs + 3))
|
||||
R_RecursiveWorldNode (node->children[side]);
|
||||
R_RecursiveWorldNode (node->children[side]);
|
||||
|
||||
// draw stuff
|
||||
if ((c = node->numsurfaces)) {
|
||||
|
@ -840,13 +835,7 @@ R_RecursiveWorldNode (mnode_t *node)
|
|||
}
|
||||
}
|
||||
// recurse down the back side
|
||||
// LordHavoc: save a stack frame by avoiding a call
|
||||
side = !side;
|
||||
if (node->children[side]->contents != CONTENTS_SOLID
|
||||
&& node->children[side]->visframe == r_visframecount
|
||||
&& !R_CullBox (node->children[side]->minmaxs,
|
||||
node->children[side]->minmaxs + 3))
|
||||
R_RecursiveWorldNode (node->children[side]);
|
||||
R_RecursiveWorldNode (node->children[!side]);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue