feat(model): setup lighting for attached models in CM2Model::SetupLighting

This commit is contained in:
fallenoak committed 2025-10-13 08:50:14 -05:00
1 parent 01190b65ca
commit 4168a96bd2
1 file changed
+3 -4
+3 -4
View File
@@ -1550,10 +1550,9 @@ void CM2Model::SetupLighting() {
this->m_lighting.CameraSpace();
}
// TODO
// for (auto model = this->model58; model; model = model->model60) {
// model->SetupLighting();
// }
for (auto model = this->m_attachList; model; model = model->m_attachNext) {
model->SetupLighting();
}
}
void CM2Model::SetVisible(int32_t visible) {