Fix the web port's decals.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5680 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-04-26 01:31:00 +00:00
parent 0e8d1acb05
commit a92778fdbe

View file

@ -14,7 +14,7 @@ Decal functions
#define MAXFRAGMENTVERTS 360 #define MAXFRAGMENTVERTS 360
int Fragment_ClipPolyToPlane(float *inverts, float *outverts, int incount, float *plane, float planedist) int Fragment_ClipPolyToPlane(float *inverts, float *outverts, int incount, float *plane, float planedist)
{ {
#define C 4 #define C (sizeof(vecV_t)/sizeof(vec_t))
float dotv[MAXFRAGMENTVERTS+1]; float dotv[MAXFRAGMENTVERTS+1];
char keep[MAXFRAGMENTVERTS+1]; char keep[MAXFRAGMENTVERTS+1];
#define KEEP_KILL 0 #define KEEP_KILL 0