LightState_t fix

This commit is contained in:
celisej567 2024-10-19 21:01:47 +03:00
parent 091308106b
commit fd60fa6bfb

View File

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