light: don't bounce light for channel != 1

This commit is contained in:
Eric Wasylishen 2022-12-13 23:59:58 -07:00
parent ff73f13830
commit aca9820b03
1 changed files with 4 additions and 0 deletions

View File

@ -77,6 +77,10 @@ static bool Face_ShouldBounce(const mbsp_t *bsp, const mface_t *face)
return false;
}
if (mi->object_channel_mask.value() != CHANNEL_MASK_DEFAULT) {
return false;
}
return true;
}