|
|
|
@ -336,7 +336,7 @@ void R_SetupFrustum( void )
@@ -336,7 +336,7 @@ void R_SetupFrustum( void )
|
|
|
|
|
{ |
|
|
|
|
const ref_overview_t *ov = gEngfuncs.GetOverviewParms(); |
|
|
|
|
|
|
|
|
|
if( RP_NORMALPASS() && ( ENGINE_GET_PARM( PARM_WATER_LEVEL ) >= 3 )) |
|
|
|
|
if( RP_NORMALPASS() && ( ENGINE_GET_PARM( PARM_WATER_LEVEL ) >= 3 ) && ENGINE_GET_PARM( PARM_QUAKE_COMPATIBLE )) |
|
|
|
|
{ |
|
|
|
|
RI.fov_x = atan( tan( DEG2RAD( RI.fov_x ) / 2 ) * ( 0.97f + sin( gpGlobals->time * 1.5f ) * 0.03f )) * 2 / (M_PI_F / 180.0f); |
|
|
|
|
RI.fov_y = atan( tan( DEG2RAD( RI.fov_y ) / 2 ) * ( 1.03f - sin( gpGlobals->time * 1.5f ) * 0.03f )) * 2 / (M_PI_F / 180.0f); |
|
|
|
|