]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
remove some more dead code
[xonotic/darkplaces.git] / cl_screen.c
index f1ae56690bc8dac6392aac19e08c7f93dfa67e9e..0989a4b1f0454619cae985837c789cae3d51ee63 100644 (file)
@@ -236,9 +236,6 @@ static void SCR_DrawNetGraph_DrawGraph (int graphx, int graphy, int graphwidth,
        float *c;
        DrawQ_Fill(graphx, graphy, graphwidth, graphheight + textsize * 2, 0, 0, 0, 0.5, 0);
        // draw the bar graph itself
-       // advance the packet counter because it is the latest packet column being
-       // built up and should come last
-       packetcounter = (packetcounter + 1) % NETGRAPH_PACKETS;
        memset(g, 0, sizeof(g));
        for (j = 0;j < NETGRAPH_PACKETS;j++)
        {