mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: use designated initializers where possible
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user