From 383726df9f0ba48acc22c8c1439c75cb784e9b23 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sat, 23 Feb 2013 20:46:57 +1030 Subject: [PATCH] qbsp: always set the detail_separator flag on bsp nodes Signed-off-by: Kevin Shanahan --- qbsp/solidbsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbsp/solidbsp.c b/qbsp/solidbsp.c index 1d3e2a17..b6a7c38d 100644 --- a/qbsp/solidbsp.c +++ b/qbsp/solidbsp.c @@ -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; } }