qbsp: pass hullnum into ExportClipNodes()
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
27252d9104
commit
53e61c28ca
|
|
@ -84,7 +84,7 @@ ProcessEntity(mapentity_t *ent)
|
|||
}
|
||||
}
|
||||
ExportNodePlanes(nodes);
|
||||
ExportClipNodes(ent, nodes);
|
||||
ExportClipNodes(ent, nodes, hullnum);
|
||||
} else {
|
||||
// SolidBSP generates a node tree
|
||||
//
|
||||
|
|
|
|||
|
|
@ -643,7 +643,7 @@ void PortalizeWorld(const mapentity_t *ent, node_t *headnode, const int hullnum)
|
|||
void TJunc(const mapentity_t *ent, node_t *headnode);
|
||||
node_t *SolidBSP(const mapentity_t *ent, surface_t *surfhead, bool midsplit);
|
||||
void MakeFaceEdges(mapentity_t *ent, node_t *headnode);
|
||||
void ExportClipNodes(mapentity_t *ent, node_t *headnode);
|
||||
void ExportClipNodes(mapentity_t *ent, node_t *headnode, const int hullnum);
|
||||
void ExportDrawNodes(mapentity_t *ent, node_t *headnode);
|
||||
|
||||
// util.c
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ accomodate new data interleaved with old.
|
|||
==================
|
||||
*/
|
||||
void
|
||||
ExportClipNodes(mapentity_t *ent, node_t *nodes)
|
||||
ExportClipNodes(mapentity_t *ent, node_t *nodes, const int hullnum)
|
||||
{
|
||||
int oldcount, i, diff;
|
||||
int clipcount = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue