]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
moved shownetgraph to right side of screen
[xonotic/darkplaces.git] / cl_screen.c
index 869b893f033501c99a5ec95f6d4f173b1d3d2242..183519902eb4810ae8975066095707d61e11fb41 100644 (file)
@@ -260,8 +260,8 @@ void SCR_DrawNetGraph (void)
        barwidth = 1;
        barheight = 50;
        bardivide = 20;
-       netgraph_x = 0;
-       netgraph_y = vid_conheight.integer - 48 - barheight - textsize;
+       netgraph_x = vid_conwidth.integer - (barwidth * NETGRAPH_PACKETS * 2 + separator);
+       netgraph_y = vid_conheight.integer - (48 + barheight + textsize);
        SCR_DrawNetGraph_DrawConnection(cls.netcon, netgraph_x, netgraph_y, barwidth, barheight, bardivide, "incoming", separator, "outgoing", textsize);
 }