shithub: qk1

Download patch

ref: e1f34fe50840b05c37b58a6bdb1a9233219e4b5a
parent: de3b3f4e656b21469bc4684f55b2b8720e2310fc
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Oct 12 11:59:42 EDT 2023

cl: 1024 → MAX_DATAGRAM, like on the server side

--- a/cl_main.c
+++ b/cl_main.c
@@ -666,7 +666,7 @@
 */
 void CL_Init (void)
 {	
-	SZ_Alloc (&cls.message, 1024);
+	SZ_Alloc (&cls.message, MAX_DATAGRAM);
 
 	cl_visedicts = Hunk_Alloc(MAX_VISEDICTS * sizeof(*cl_visedicts));
 	cl_efrags = Hunk_Alloc(MAX_EFRAGS * sizeof(*cl_efrags));