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

This commit is contained in:
fallenoak 2025-10-13 08:50:14 -05:00
parent 01190b65ca
commit 4168a96bd2
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

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) {