]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - curves.c
Rename qboolean to qbool
[xonotic/darkplaces.git] / curves.c
index 58ce43d024a12af101921901f9e1362d0d6ae889..154450de7cdd8b55e9493fbb065e10cc2795647a 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -277,7 +277,7 @@ static int FindEqualOddVertexInArray(int numcomponents, float *vertex, float *ve
        {
                for (x=0; x<width; x+=2)
                {
-                       qboolean found = true;
+                       qbool found = true;
                        for (j=0; j<numcomponents; j++)
                                if (fabs(*(vertex+j) - *(vertices+j)) > 0.05)
                                // div0: this is notably smaller than the smallest radiant grid
@@ -337,7 +337,7 @@ int Q3PatchAdjustTesselation(int numcomponents, patchinfo_t *patch1, float *patc
        struct {int id1,id2;} commonverts[8];
        int i, j, k, side1, side2, *tess1, *tess2;
        int dist1 = 0, dist2 = 0;
-       qboolean modified = false;
+       qbool modified = false;
 
        // Potential paired vertices (corners of the first patch)
        commonverts[0].id1 = 0;