easy to end up with >128 byte entity updates which can in some cases
never be sent at all due to the size throttling)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8013
d7cf8633-e32d-0410-b094-
e92efae38249
maxsize = (int)(clientrate * sys_ticrate.value);
maxsize = bound(128, maxsize, 1400);
maxsize2 = 1400;
+ // csqc entities can easily exceed 128 bytes, so disable throttling in
+ // mods that use csqc (they are likely to use less bandwidth anyway)
+ if (sv.csqc_progsize > 0)
+ maxsize = maxsize2;
}
// obey rate limit by limiting packet frequency if the packet size