From cb34c23844364acb5149ce1e1bb1a375fe0d4f1b Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 21 Aug 2022 17:27:17 +0300 Subject: [PATCH] common: increase MAX_MAP_MODELS to 1024, to match PrimeXT compilers --- common/bspfile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/bspfile.h b/common/bspfile.h index 8087f2dc..1fa5721a 100644 --- a/common/bspfile.h +++ b/common/bspfile.h @@ -73,7 +73,8 @@ BRUSH MODELS #define MAX_MAP_FACES 262144 // can be increased without problems #define MAX_MAP_MARKSURFACES 524288 // can be increased without problems #else -#define MAX_MAP_MODELS 768 // embedded models +// increased to match PrimeXT compilers +#define MAX_MAP_MODELS 1024 // embedded models #define MAX_MAP_ENTSTRING 0x100000 // 1 Mb should be enough #define MAX_MAP_PLANES 65536 // can be increased without problems #define MAX_MAP_NODES 32767 // because negative shorts are leafs