light: bounce: also make shadow-casting bmodels bounce (unless they

opt-out with _bounce -1)
This commit is contained in:
Eric Wasylishen 2019-05-12 16:39:06 -06:00
parent ba7bdf86a1
commit 5010dc92fb
1 changed files with 1 additions and 2 deletions

View File

@ -328,8 +328,7 @@ MakeBounceLights (const globalconfig_t &cfg, const mbsp_t *bsp)
{
logprint("--- MakeBounceLights ---\n");
const dmodel_t *model = &bsp->dmodels[0];
make_bounce_lights_args_t args { bsp, &cfg }; //mxd. https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-pro-type-member-init.html
RunThreadsOn(model->firstface, model->firstface + model->numfaces, MakeBounceLightsThread, (void *)&args);
RunThreadsOn(0, bsp->numfaces, MakeBounceLightsThread, (void *)&args);
}