From edc78e4dfdfe21b05fcc9a073ed7c7933fa3fe52 Mon Sep 17 00:00:00 2001
From: fantoro <fantoro@outlook.com>
Date: Tue, 21 Nov 2023 22:54:02 +0100
Subject: [PATCH 1/2] Increase `MAX_PACKET_ENTITES` from 256 to 1024.

Increase packet entity limit for compatibility with the 25th anniversary
update's maps
---
 rehlds/common/qlimits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rehlds/common/qlimits.h b/rehlds/common/qlimits.h
index 1a67bd5a5..1e22c6f93 100644
--- a/rehlds/common/qlimits.h
+++ b/rehlds/common/qlimits.h
@@ -39,6 +39,6 @@ constexpr auto MAX_LIGHTSTYLE_SIZE = size_t{64};
 #define MAX_BASE_DECALS			(1<<MAX_DECAL_INDEX_BITS)
 
 #define MAX_EVENTS			256
-#define MAX_PACKET_ENTITIES		256	// 256 visible entities per frame
+#define MAX_PACKET_ENTITIES		1024	// 1024 visible entities per frame
 
 #endif // QLIMITS_H

From dc24f5e727010891240bde278d3990a01f9ecd0c Mon Sep 17 00:00:00 2001
From: fantoro <fantoro@outlook.com>
Date: Wed, 22 Nov 2023 13:48:08 +0100
Subject: [PATCH 2/2] Increase `NUM_EDICTS` from 900 to 1200.

---
 rehlds/engine/server.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rehlds/engine/server.h b/rehlds/engine/server.h
index 5fda2c1ba..a71182447 100644
--- a/rehlds/engine/server.h
+++ b/rehlds/engine/server.h
@@ -31,7 +31,7 @@
 #include "maintypes.h"
 
 // TODO: I think this defines must be in /common/
-const int NUM_EDICTS = 900;
+const int NUM_EDICTS = 1200;
 const int MAX_NAME   = 32;
 
 #include "custom_int.h"