Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 7806 → Rev 8315

/source/build/src/colmatch.cpp
92,7 → 92,7
 
int mindist = -1;
 
int const k = (numclosestcolresults > COLRESULTSIZ) ? (COLRESULTSIZ-4) : (numclosestcolresults-4);
int const k = (numclosestcolresults > COLRESULTSIZ) ? COLRESULTSIZ : numclosestcolresults;
 
if (!numclosestcolresults) goto skip;
 
101,7 → 101,7
 
int i;
 
for (i = 0; i < k+4; i+=4)
for (i = 0; i <= k-4; i+=4)
{
if (col == (getclosestcol_results[i] & 0x00ffffff)) { mindist = i; break; }
if (col == (getclosestcol_results[i+1] & 0x00ffffff)) { mindist = i+1; break; }