From b448dc830069c5a7a42bc8dad08fc12b421ad6ab Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 15 Jul 2010 10:04:30 +0000 Subject: [PATCH] raise SVBSP polygon points limit to avoid crashes with portal tests git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10327 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=dc6656290bde80d3c6f4bb184027908ea645e4fc --- svbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svbsp.c b/svbsp.c index 85b82a49..f22947b8 100644 --- a/svbsp.c +++ b/svbsp.c @@ -8,7 +8,7 @@ #include "svbsp.h" #include "polygon.h" -#define MAX_SVBSP_POLYGONPOINTS 16 +#define MAX_SVBSP_POLYGONPOINTS 64 #define SVBSP_CLIP_EPSILON (1.0f / 1024.0f) #define SVBSP_DotProduct(a,b) ((a)[0]*(b)[0]+(a)[1]*(b)[1]+(a)[2]*(b)[2]) -- 2.39.2