From 932b463906c431acb4c7d5f906ed1dc6eb9a0ede Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Thu, 17 Sep 2015 18:46:01 -0500 Subject: Use correct array size for facets in cm_patch.c --- src/qcommon/cm_patch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon') diff --git a/src/qcommon/cm_patch.c b/src/qcommon/cm_patch.c index 6fbcfbf6..5f55e9d4 100644 --- a/src/qcommon/cm_patch.c +++ b/src/qcommon/cm_patch.c @@ -419,7 +419,7 @@ static int numPlanes; static patchPlane_t planes[MAX_PATCH_PLANES]; static int numFacets; -static facet_t facets[MAX_PATCH_PLANES]; //maybe MAX_FACETS ?? +static facet_t facets[MAX_FACETS]; #define NORMAL_EPSILON 0.0001 #define DIST_EPSILON 0.02 -- cgit