summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2015-09-17 18:46:01 -0500
committerTim Angus <tim@ngus.net>2016-04-07 11:07:48 +0100
commit932b463906c431acb4c7d5f906ed1dc6eb9a0ede (patch)
treef58ff2c7f22fd084fb13fc8a2b2c8fff28fac330 /src
parent2d53e343b800288463d9cce31b6f4a96238c0f62 (diff)
Use correct array size for facets in cm_patch.c
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/cm_patch.c2
1 files changed, 1 insertions, 1 deletions
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