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:
Rudolf Polzer 2011-11-20 21:37:55 +01:00
parent 76ed4634ec
commit 8bff7284c3

View File

@ -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