From: havoc Date: Thu, 15 Jul 2010 10:04:30 +0000 (+0000) Subject: raise SVBSP polygon points limit to avoid crashes with portal tests X-Git-Tag: xonotic-v0.1.0preview~230^2~151 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=dc6656290bde80d3c6f4bb184027908ea645e4fc;p=xonotic%2Fdarkplaces.git 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 --- 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])