mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
emit clipnodes in the correct order
This commit is contained in:
parent
7073afc0a4
commit
c5f7138db8
1 changed files with 2 additions and 1 deletions
|
@ -128,10 +128,11 @@ WriteClipNodes_r (node_t *node)
|
|||
}
|
||||
// emit a clipnode
|
||||
c = bsp->numclipnodes;
|
||||
BSP_AddClipnode (bsp, &cn);
|
||||
cn.planenum = node->outputplanenum;
|
||||
for (i = 0; i < 2; i++)
|
||||
cn.children[i] = WriteClipNodes_r (node->children[i]);
|
||||
BSP_AddClipnode (bsp, &cn);
|
||||
bsp->clipnodes[c] = cn;
|
||||
|
||||
free (node);
|
||||
return c;
|
||||
|
|
Loading…
Reference in a new issue