2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-04 17:35:35 +00:00

CCubeRenderer: Fix call to SetChanMatColor

This commit is contained in:
Luke Street 2022-03-13 15:17:13 -04:00
parent da224d492a
commit 8682525b88

View File

@ -557,7 +557,7 @@ void CCubeRenderer::ActivateLightsForModel(const CAreaListItem* areaItem, CCubeM
CGX::SetChanMatColor(CGX::EChannelId::Channel0, zeus::skWhite);
} else {
CGraphics::DisableAllLights();
CGX::SetChanAmbColor(CGX::EChannelId::Channel0, CGX::GetChanAmbColor(CGX::EChannelId::Channel0));
CGX::SetChanMatColor(CGX::EChannelId::Channel0, CGX::GetChanAmbColor(CGX::EChannelId::Channel0));
}
}