]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_main.c
changed behavior of r_showtris (now only affects geometry in the game view, not sky...
[xonotic/darkplaces.git] / sv_main.c
index b817cc97053d977746e799ccb20d95cd16715581..923617c6b969cefb0a5b1c82213071d38b849043 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -1207,6 +1207,8 @@ qboolean SV_SendClientDatagram (client_t *client)
                if (sv_maxrate.integer != maxrate)
                        Cvar_SetValueQuick(&sv_maxrate, maxrate);
 
+               // this rate limiting does not understand sys_ticrate 0
+               // (but no one should be running that on a server!)
                rate = bound(NET_MINRATE, client->rate, maxrate);
                rate = (int)(client->rate * sys_ticrate.value);
                maxsize = bound(100, rate, 1400);