From 38df3322e339383fbc64438d3649a185bf3d8884 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Sun, 9 Jan 2011 14:19:00 +0100 Subject: [PATCH] Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all) --- CHANGELOG.txt | 5 +++++ main/net_udp.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index aef92fa34..45bd3c75b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,9 +1,14 @@ D1X-Rebirth Changelog +20110109 +-------- +main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all) + 20110106 -------- SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/loadgl.h, include/ogl_init.h, main/gamecntl.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too +arch/ogl/ogl.c: Fix small bug in vertex_array for ogl_ubitblt_i 20110104 -------- diff --git a/main/net_udp.h b/main/net_udp.h index 7e73d5dbb..3d92176e2 100644 --- a/main/net_udp.h +++ b/main/net_udp.h @@ -36,7 +36,7 @@ int net_udp_level_sync(); #define UDP_MDATA_STOR_QUEUE_SIZE 500 // Store up to 500 MDATA packets // Following are static defines for the buffer size of various packets. IF you change the packets, you must change the size, too. -#define UPKT_MAX_SIZE 2048 // Max size for a packet +#define UPKT_MAX_SIZE 1024 // Max size for a packet #define UPKT_GAME_INFO_REQ_SIZE 11 #define UPKT_SEQUENCE_SIZE 14 #define UPKT_PING_SIZE 37