"LightState_t" ordering fix

This commit is contained in:
celisej567 2024-10-19 21:10:08 +03:00
parent 29985681a1
commit c24836cddf

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