mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-09 11:30:51 +00:00
[quake3/q3map2/brush.c] Fix arithmetic bug
This commit is contained in:
parent
6409de3029
commit
d18d90278e
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,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{
|
||||
|
|
Loading…
Reference in a new issue