mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-29 00:00:03 +02:00
[quake3/q3map2/brush.c] Fix arithmetic bug
This commit is contained in:
committed by
Thomas Debesse
parent
b507e1246e
commit
0992bd78a0
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user