Browse Source

Merge branch 'master' into theyhunger

theyhunger
Night Owl 6 years ago
parent
commit
df33ebe615
  1. 8
      dlls/lights.cpp

8
dlls/lights.cpp

@ -155,10 +155,10 @@ void CEnvLight::KeyValue( KeyValueData* pkvd )
} }
else if( j == 4 ) else if( j == 4 )
{ {
v /= 255; float vf = v / 255.0f;
r *= v; r *= vf;
g *= v; g *= vf;
b *= v; b *= vf;
} }
// simulate qrad direct, ambient,and gamma adjustments, as well as engine scaling // simulate qrad direct, ambient,and gamma adjustments, as well as engine scaling

Loading…
Cancel
Save