Enable dynamic lighting of non-lightmapped area models

This commit is contained in:
Vsevolod Kremianskii 2021-05-04 14:25:55 +07:00
parent a5b4e81b02
commit af221d6d81

View file

@ -206,9 +206,6 @@ bool ModelNodeSceneNode::isTransparent() const {
}
static bool isLightingEnabledByUsage(ModelUsage usage) {
if (usage == ModelUsage::Room) {
return isFeatureEnabled(Feature::DynamicRoomLighting);
}
return usage != ModelUsage::Projectile;
}