ref: use designated initializers where possible

This commit is contained in:
Alibek Omarov
2026-05-20 12:44:47 -04:00
committed by a1batross
parent 1fed340330
commit 64b1b54f5b
2 changed files with 11 additions and 29 deletions

View File

@@ -966,9 +966,11 @@ void R_DrawAliasModel( cl_entity_t *e )
//
// get lighting information
//
alight_t lighting;
vec3_t dir;
lighting.plightvec = dir;
alight_t lighting =
{
.plightvec = dir,
};
R_EntityDynamicLight( e, &lighting, FBitSet( RI.rvp.flags, RF_DRAW_WORLD ), g_alias.time, g_alias.lightspot, g_alias.lightvec );
r_stats.c_alias_polys += m_pAliasHeader->numtris;