light: bounce: also make shadow-casting bmodels bounce (unless they
opt-out with _bounce -1)
This commit is contained in:
parent
ba7bdf86a1
commit
5010dc92fb
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue