]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
qdefs: Set NET_MAXMESSAGE back to 65536 since the higher value broke Xonotic demos.
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Oct 2020 22:46:05 +0000 (22:46 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 16 Oct 2020 22:46:05 +0000 (22:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13020 d7cf8633-e32d-0410-b094-e92efae38249

qdefs.h

diff --git a/qdefs.h b/qdefs.h
index 1996d86fbcb6bad629ede75c4b4e9674c4f6a01d..4421ce1d1093447977d8f60e6435ce04d03523c3 100644 (file)
--- a/qdefs.h
+++ b/qdefs.h
@@ -90,7 +90,7 @@
 #define        CMDBUFSIZE                              655360 ///< maximum script size that can be loaded by the exec command (8192 in Quake)
 #define        MAX_ARGS                                80 ///< maximum number of parameters to a console command or alias
 
-#define        NET_MAXMESSAGE                  131072 ///< max reliable packet size (sent as multiple fragments of MAX_PACKETFRAGMENT)
+#define        NET_MAXMESSAGE                  65536 ///< max reliable packet size (sent as multiple fragments of MAX_PACKETFRAGMENT)
 #define        MAX_PACKETFRAGMENT              1024 ///< max length of packet fragment
 #define        MAX_EDICTS                              32768 ///< max number of objects in game world at once (32768 protocol limit)
 #define        MAX_MODELS                              8192 ///< max number of models loaded at once (including during level transitions)