diff options
author | Zack Middleton <zturtleman@gmail.com> | 2015-09-17 18:46:01 -0500 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2016-04-07 11:07:48 +0100 |
commit | 932b463906c431acb4c7d5f906ed1dc6eb9a0ede (patch) | |
tree | f58ff2c7f22fd084fb13fc8a2b2c8fff28fac330 /src/qcommon | |
parent | 2d53e343b800288463d9cce31b6f4a96238c0f62 (diff) |
Use correct array size for facets in cm_patch.c
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/cm_patch.c | 2 |
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 |