* Fix various warnings with GCC and clang
This commit is contained in:
parent
675e7a641a
commit
fd986dae06
8 changed files with 31 additions and 22 deletions
|
@ -506,9 +506,7 @@ static int CG_CalcFov( void ) {
|
|||
}
|
||||
} else {
|
||||
f = ( cg.time - cg.zoomTime ) / (float)ZOOM_TIME;
|
||||
if ( f > 1.0 ) {
|
||||
fov_x = fov_x;
|
||||
} else {
|
||||
if ( f <= 1.0 ) {
|
||||
fov_x = zoomFov + f * ( fov_x - zoomFov );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue