[quake3/q3map2/brush.c] Fix arithmetic bug

This commit is contained in:
Thomas Köppe
2016-10-14 02:26:22 +02:00
committed by Thomas Debesse
parent b507e1246e
commit 0992bd78a0
+1 -1
View File
@@ -267,7 +267,7 @@ void SnapWeldVector( vec3_t a, vec3_t b, vec3_t out ){
}
/* use nearest */
else if ( fabs( ai - a[ i ] ) < fabs( bi < b[ i ] ) ) {
else if ( fabs( ai - a[ i ] ) < fabs( bi - b[ i ] ) ) {
out[ i ] = a[ i ];
}
else{