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
1 changed files with 1 additions and 0 deletions

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