X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=curves.c;h=17d1b9424d0c24c97f2610f180190875d9e2b3f2;hb=53b08e0497613f69601607824c4d5cba788f1309;hp=ba7e129ab6d8b41774147bd074e9d58e91d06584;hpb=1fd37f5239fe019e4d53c3e19b6fa9ff67da12e1;p=xonotic%2Fdarkplaces.git diff --git a/curves.c b/curves.c index ba7e129a..17d1b942 100644 --- a/curves.c +++ b/curves.c @@ -336,7 +336,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, dist2; + int dist1 = 0, dist2 = 0; qboolean modified = false; // Potential paired vertices (corners of the first patch)