2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 03:11:06 +01:00

engine: client: cl_netgraph: fixed uninitialized alpha in netcolors

This commit is contained in:
SNMetamorph 2022-06-16 00:37:38 +04:00
parent ad4d0cf00a
commit 0cef18af86

View File

@ -158,6 +158,7 @@ static void NetGraph_InitColors( void )
f = (float)(i - hfrac) / (float)(NETGRAPH_LERP_HEIGHT - hfrac );
VectorMA( mincolor[1], f, dc[1], netcolors[NETGRAPH_NET_COLORS + i] );
}
netcolors[NETGRAPH_NET_COLORS + i][3] = 255;
}
}