]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
raise SVBSP polygon points limit to avoid crashes with portal tests
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Jul 2010 10:04:30 +0000 (10:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 15 Jul 2010 10:04:30 +0000 (10:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10327 d7cf8633-e32d-0410-b094-e92efae38249

svbsp.c

diff --git a/svbsp.c b/svbsp.c
index 85b82a49d222805e802f26e99c8e3a290a9ac33f..f22947b805e007035e5bd4e5c45247cc5a466289 100644 (file)
--- 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])