From 83d907126907507eca42f76c7ccfb9946b2c304d Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Mon, 25 Mar 2019 01:19:45 -0600 Subject: [PATCH] qbsp: fix tjuncs on bmodels Fixes #232 --- qbsp/qbsp.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index 07c46bf3..98f72cba 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -221,6 +221,11 @@ ProcessEntity(mapentity_t *entity, const int hullnum) } FreeAllPortals(nodes); } + + // bmodels + if (entity != pWorldEnt()) { + TJunc(entity, nodes); + } // convert detail leafs to solid (in case we didn't make the call above) DetailToSolid(nodes);