Quick fix to keep the "white ambient" flag from being enabled in MP1/2

This commit is contained in:
parax0
2016-02-19 18:47:21 -07:00
parent 1727a337c6
commit 8c722c8308
3 changed files with 16 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ void CStaticNode::Draw(FRenderOptions Options, int ComponentIndex, const SViewIn
if (!mpModel) return;
bool IsLightingEnabled = CGraphics::sLightMode == CGraphics::eWorldLighting || ViewInfo.GameMode;
bool UseWhiteAmbient = (mpModel->GetMaterial()->Options() & CMaterial::eDrawWhiteAmbient) != 0;
bool UseWhiteAmbient = (mpModel->GetMaterial()->Options() & CMaterial::eDrawWhiteAmbientDKCR) != 0;
if (IsLightingEnabled)
{