qbsp: always set the detail_separator flag on bsp nodes

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-02-23 20:46:57 +10:30
parent 4efab46b86
commit 383726df9f
1 changed files with 2 additions and 2 deletions

View File

@ -357,8 +357,8 @@ ChoosePlaneFromList(surface_t *surfaces, vec3_t mins, vec3_t maxs)
}
/* If we found a candidate on first pass, don't do a second pass */
if (pass > 0 && bestsurface) {
bestsurface->detail_separator = true;
if (bestsurface) {
bestsurface->detail_separator = (pass > 0);
break;
}
}