From 5e8b0ba616c571646c4fc67b188d1a630650d928 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Wed, 7 Dec 2022 19:17:09 +0700 Subject: [PATCH] Increased limit leafs MAX_MAP_LEAFS up to 32767 --- rehlds/public/rehlds/bspfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/public/rehlds/bspfile.h b/rehlds/public/rehlds/bspfile.h index c3a94bb..4998fcf 100644 --- a/rehlds/public/rehlds/bspfile.h +++ b/rehlds/public/rehlds/bspfile.h @@ -32,7 +32,7 @@ #define HLBSP_VERSION 30 // half-life regular version #define MAX_MAP_HULLS 4 -#define MAX_MAP_LEAFS 8192 // signed short limit +#define MAX_MAP_LEAFS 32767 // signed short limit #define CONTENTS_ORIGIN -7 // removed at csg time #define CONTENTS_CLIP -8 // changed to contents_solid