qbsp: don't generate portals on detail splits
Also, compile fix for incomplete commit da3aa26ee.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
3123d51db5
commit
49376dce50
|
|
@ -451,6 +451,10 @@ CutNodePortals_r(node_t *node)
|
|||
if (node->contents)
|
||||
return;
|
||||
|
||||
/* No portals on detail separators */
|
||||
if (node->detail_separator)
|
||||
return;
|
||||
|
||||
plane = &map.planes[node->planenum];
|
||||
front = node->children[0];
|
||||
back = node->children[1];
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ typedef struct surface_s {
|
|||
vec3_t mins, maxs;
|
||||
bool onnode; // true if surface has already been used
|
||||
// as a splitting node
|
||||
bool detail_separator; // true if generated by a detail brush
|
||||
bool detail_separator; // true if split generated by a detail brush
|
||||
face_t *faces; // links to all faces on either side of the surf
|
||||
} surface_t;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue