CCubeRenderer: Fix call to SetChanMatColor

This commit is contained in:
Luke Street 2022-03-13 15:17:13 -04:00
parent da224d492a
commit 8682525b88
1 changed files with 1 additions and 1 deletions

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));
}
}