fix an obvious q3map2 bug that causes BSP leafs to be too big sometimes. Maybe improves fps. No other change.
This commit is contained in:
parent
76ed4634ec
commit
8bff7284c3
|
|
@ -340,6 +340,11 @@ void BuildFaceTree_r( node_t *node, face_t *list )
|
|||
node->children[1]->maxs[i] = plane->dist;
|
||||
break;
|
||||
}
|
||||
if ( plane->normal[i] == -1 ) {
|
||||
node->children[0]->maxs[i] = -plane->dist;
|
||||
node->children[1]->mins[i] = -plane->dist;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user