light: don't bounce light for channel != 1
This commit is contained in:
parent
ff73f13830
commit
aca9820b03
|
|
@ -77,6 +77,10 @@ static bool Face_ShouldBounce(const mbsp_t *bsp, const mface_t *face)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mi->object_channel_mask.value() != CHANNEL_MASK_DEFAULT) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue