From 7d6350bf663233dece857db3f11c2a5170440bbe Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 27 Oct 2025 15:23:01 +0000 Subject: [PATCH] Increase MAX_PATCH_PLANES Some custom maps apparently need a larger value for MAX_PATCH_PLANES. These snuck under the limit with original Q3 due to the vagaries of floating point error/modern compilers/fastmath etc.. See issue #186. --- code/qcommon/cm_patch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/cm_patch.h b/code/qcommon/cm_patch.h index f5ba8b8b..8d8ad19c 100644 --- a/code/qcommon/cm_patch.h +++ b/code/qcommon/cm_patch.h @@ -61,7 +61,7 @@ properly. #define MAX_FACETS 1024 -#define MAX_PATCH_PLANES 2048 +#define MAX_PATCH_PLANES 4096 typedef struct { float plane[4];