]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
Add -Wshadow cflag and eliminate its warnings, including with g++
[xonotic/darkplaces.git] / cl_screen.c
index 01a6fbdd1c27091dd95a747fc04c875abdc608fb..7a8bf931e883cdfebae8177734db7005af935d5e 100644 (file)
@@ -343,7 +343,7 @@ static void SCR_DrawNetGraph (void)
        graphwidth = 120;
        graphheight = 70;
        graphscale = 1.0f / 1500.0f;
-       graphlimit = rate.integer;
+       graphlimit = cl_rate.integer;
 
        netgraphsperrow = (vid_conwidth.integer + separator2) / (graphwidth * 2 + separator1 + separator2);
        netgraphsperrow = max(netgraphsperrow, 1);