diff --git a/Quake/progs.h b/Quake/progs.h index bb4e24b45..6327934e0 100644 --- a/Quake/progs.h +++ b/Quake/progs.h @@ -295,6 +295,7 @@ typedef struct areanode_s link_t trigger_edicts; link_t solid_edicts; } areanode_t; +#define VANILLA_AREA_DEPTH 4 #define MAX_AREA_DEPTH 9 #define AREA_NODES (2<axis = 1; - if (depth == MAX_AREA_DEPTH || size[anode->axis] < 500) + if (pr_checkextension.value ? depth == MAX_AREA_DEPTH || size[anode->axis] < 500 : depth == VANILLA_AREA_DEPTH) { anode->axis = -1; anode->children[0] = anode->children[1] = NULL;