mirror of
https://github.com/celisej567/source-engine.git
synced 2025-12-31 21:48:22 +03:00
LightState_t fix
This commit is contained in:
@@ -36,8 +36,8 @@ struct LightState_t
|
||||
{
|
||||
int m_nNumLights;
|
||||
bool m_bAmbientLight;
|
||||
bool m_bStaticLightTexel;
|
||||
bool m_bStaticLightVertex;
|
||||
bool m_bStaticLightTexel;
|
||||
inline int HasDynamicLight() { return (m_bAmbientLight || (m_nNumLights > 0)) ? 1 : 0; }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user