Browse Source

engine: client: cl_netgraph: fixed uninitialized alpha in netcolors

pull/2/head
SNMetamorph 3 years ago
parent
commit
0cef18af86
  1. 1
      engine/client/cl_netgraph.c

1
engine/client/cl_netgraph.c

@ -158,6 +158,7 @@ static void NetGraph_InitColors( void ) @@ -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;
}
}

Loading…
Cancel
Save