From c581e5c5e197ff017d733cc917a880e7239d2df2 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Thu, 16 Apr 2026 10:29:24 -0400 Subject: [PATCH] Clamp softwarepacketlength to work around issues that have arozen on some networks --- src/d_net.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/d_net.c b/src/d_net.c index ee9cf4f9c..18ca01f69 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -1242,7 +1242,11 @@ boolean D_CheckNetGame(void) I_Error("usage: -bandwidth "); } +#if 0 software_MAXPACKETLENGTH = hardware_MAXPACKETLENGTH; +#else + software_MAXPACKETLENGTH = 1500; +#endif if (M_CheckParm("-packetsize")) { if (M_IsNextParm())